Database Connections in Jdeveloper

Hi,
I was able to make a successful jdbc to odbc database connection using Jdeveloper 10.1.3.0.2. I could see the list of tables in the Oracle database. However, release 10.1.3.0.4 produces the following message: "Invalid Fetch Size". I also tried a straight jdbc connection in the later release, and it returns a certain amount of metadata, but no list of tables. Why does the connection work for the earlier release but not the later release?
Thank you,
Roland Wales

I logged an er (3649694) to track this request. Thanks for the feedback!
-- Brian

Similar Messages

  • How to create a database connection using Jdeveloper 10g

    when i try to create a database connection,its asking for connection name.is that connection name is user-defined or predefined name??In the next step its asking for username and password.where do i get that username and password.if anyone know this please explain me in detail coz this is for the first time am using JDeveloper.
    Thanks in advance.

    Hi user583040,
    May be you could have a look on this: http://my.opera.com/Tiftif/blog/faq-jdeveloper-english §5.2. If you have suggestions to improve this document, i will greatly appreciate to add them to it.
    Regards,
    Tif

  • Database connections in JDeveloper 10g

    I love the integrated database browsing of JDeveloper, but there is one problem with it. When creating new connections you have to supply the user name and password. For security reasons this is not always recommended. It would be better if JDeveloper could prompt me for the user name and password when I try to open a connection. It used to be like this in earlier versions of JDeveloper I think. At least this should happen if no password is stored with the connection. Where security is not a concern I can store a default user name and password for a connection, but it should always be possible to override it. The user name as well so I don't have to create a connection for each user in each database.

    I logged an er (3649694) to track this request. Thanks for the feedback!
    -- Brian

  • Create database connection for oracle ver.8.1.7.4 unsucessful

    I trying create a database connection with jdeveloper 11g to db oracle ver.8.1.7.4, but the connection return error "Test failed: Unsupported Oracle database version". I selected connection type: "Oracle (JDBC)" and initially selected driver: "thin", after exchange to driver: "oci8", but return error: "Test failed: no ocijdbc11 in java.library.path". Created on menu > Tools > Preferences > JDBC driver options a new driver: "some.jdbc.Driver" pointing to Driver class: "some.jdbc.Driver", library: "oracle.jdbc.OracleDriver", class path: "c:\...\oracle\jdbc\lib\ojdbc14.jar".
    Tried to create with this driver with the option "Generic JDBC" pointing to this driver created and using jdbc url: "jdbc:oracle:thin:@//255.255.255.255:1521/ServerId", but return error: "Test failed: Driver class not found. Verify the Driver location"
    Now, i don´t know to do!!!

    John,
    i have the data corporate in this DB in this version. I have already tested with the oracle JDBC driver: "ojdbc14.jar" and works in the "Eclipse" IDE, but i want to use with jdev, understand? Can i test only with this jdbc driver if i set "generic JDBC"?, because if i set "oracle JDBC" this driver is pointing to oracle 11g driver. Is there a "step-by-step" to set this correct procedure? I cannot set "oracle JDBC" of list because the driver class is disabled.

  • Problem in Setting up database connection

    Hi,
    When i try to create a new database connection on jdeveloper 9.0.3 and click on test connections i get this error:ORA-28030: Server encountered problems accessing LDAP directory service. Can anyone help me out of this problem.
    Infact i copied a dbc file from the server and pasted it in the local directory dbc_files/secure/.

    Hi,
    seems that your database is configured to perform Enterprise User Security (EUS) for which it needs to access LDAP. Check with your DB administrator if this is the case
    Frank

  • BPEL Designer 10.1.2.0.2 Database Connection Error

    Hi,
    I'm trying to create a database connection in JDeveloper 10.1.2.1.0 Build 1915 (BPEL Designer version) but I get ORA-12505, TNS:listener does not currently know of SID ... error for a particular database. I can connect to the same database using JDeveloper 10.1.3 with no errors, also in SQL Plus, and I can connect to another database on the same server with no problem. I need to create a BPEL 10.1.2 process that connects to this database and so far I'm unable to do so.
    Here's the full error details and the tnsnames.ora entry for this database.
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    xxxx:1521:oms.x1
    Here's the tnsnames.ora entry:
    oms.x1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521)))
    (CONNECT_DATA =(SERVICE_NAME = oms.x1))
    Here's the tnsnames.ora entry for the other database on the same server, that I can create a database connection to. The only difference as far as I can tell is with the service names, the unsuccessful connection has a "." in the service name, the successful connection does not.
    XOAS2 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521)))
    (CONNECT_DATA =(SERVICE_NAME = XOAS2))
    When I try to create a connection to the same database referencing a second tnsnames entry with .world extension, this also fails with the same error. Here's the tnsnames.ora entry and error message from JDeveloper for that connection.
    XOAS2.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxx)(PORT = 1521)))
    (CONNECT_DATA =(SERVICE_NAME = XOAS2.world))
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    xxxx:1521:XOAS2.world
    Any help you can provide in resolving this will be appreciated.
    Thanks
    Candace

    Steve,
    I tried the custom JDBC connection and still get the same error. I have been able to successfully connect to this database using a jdbc-odbc bridge connection after creating a local ODBC datasource, just to see if I can connect at all, but I don't want to have to use this connection method.
    I have also tried adding a tnsnames entry with omsx1, and I get the same error for creating a jdbc connection. However, this tnsnames entry is the one I had to use for the ODBC connection in order to successfully create the jdbc-odbc bridge connection.
    As far as both databases listening on the same port, this doesn't seem to be an issue when I configure this connection in JDeveloper 10.1.3. This issue seems to be related to using JDeveloper 10.1.2, which I need to use in order to create 10.1.2 BPEL projects.
    I was wondering whether it's possible to use the jdbc driver that JDeveloper 10.1.3 uses in JDeveloper 10.1.2? I can post this to the JDeveloper forum if that's more appropriate.
    Thanks for the pointers
    Candace

  • Production and Development Database Connections

    Within JDeveloper I have created a database connection to a DEVELOPMENT database and am exposing PL/SQL packages in the development database as web services.
    I can develop and test successfully the exposed packages as web services, and can deploy and run them to a standalone OC4J container on my local machine.
    I then handover the generated EAR file to the production team who deploy the EAR as a web service to the Oc4j container in a remote 9i Application Server.
    This runs successfully from 9iAS.
    So far so good.
    If I have the same PL/SQL package in a live database and development database, but only have access to the development database, how can I expose the package in the live database?
    Can I have a database connection in JDeveloper with a connection name pointing to the development database connection, and have a connection defined in 9iAS with the same name pointing to the live database?
    Any information will be useful.
    Thanks,
    Claire.

    Per the J2EE "roles" definition this is a deployment role todo.
    I.E. the theory is; take a 3rd party ear, depoyee with your appserver vendor's
    deployment tool, edit the data-sources.xml imbeded in the ear on the fly, as
    deployment happens.
    Bake to reality-
    OC4J 903 is intended to be used with OEM for the J2EE spec'ed role of deployer. I'm
    headed this way, but not started the 903/OEM todo.
    Today, OC4J 902 and 902 Jdev, I deploy to a local instance of OC4J. I take that
    ear to production. I've written procedural instructions on poping open the ear and
    editing the data-sources.xml for the DB connection URL and possible login/passwords.
    BTW all your AppModule configurations will have to use data-sources DB connections else
    you'll have DB connection info littered in your bc4j.xcfg's for each AM deeper in your war's.
    I'd like to hear how this is supposed to work from some other folks? :)
    Good luck,
    curt

  • Create database connection

    I try to create database connection in jdeveloper.
    I have error message;
    Listener refused the connection with the following error:
    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
    The Connection descriptor used by the client was:
    10.41.119.12:1620:TEST
    I did connect with database before. but I try to create connection with database today.
    I cannot. what problem is it?
    what am i goint to do?

    Hi,
    Maybe your connecting directly after the listener starts, wait a while then try to connect again, if this problem still occurs, check the SID of your Connection settings, it maybe incorrect.
    Regards,
    Ahmad Esbita

  • Problem with having several database connection registered in JDEVElOPER

    Hi
    Thank you for reading my post
    I have several AS registered in my Jdeveloper environemtn and several database connections.
    unfortunately some times Jdeveloper can not deploy an application into a server beacause it say that "I failed to create the connection pool", the project has no database stuff at all but Jdeveloper try to register and create connection pools for those connection that i hace registered in the Databse coonnection node.
    It fails because in that particular server which i want to deploy the application i have not add all databases JDBC driver.
    is there any solution for it?
    thanks

    Hi,
    see Tools --> Preferences --> Deployment
    Uncheck the "Bundle default data-sources.xml during deployment
    Frank

  • Can I use more than one database connections in a jdeveloper project?

    I use jdeveloper version 9.0.4.0 (build 1407),Can I use more than one database connections in one jdeveloper project?

    9.0.4 is a fairly old version, so you may only find a few people who know how it worked.
    Assuming you're using ADF BC, once known as BC4J, once know as JBO, in the project, and that the architecture hasn't changed much, then the answer is only 1 connection per project.
    Programmatically you're free to use as many connections via JEE as you see fit, but ADF BC is limited to one connection.
    CM.

  • JDeveloper problem setting up a database connection

    I am having some problem setting up a connection to my database. Before I say any more let me explain what I need. I need 2 database connections 1 to a 10g R3 database and one to an 8.0.5.
    I do realize that JDeveloper will only connect back to 8.1.7 because of the JDBC version that is installed with it.
    What I really need to know is "Is it possible to define and use 2 different versions of JDBC" I really don't want to move back to the version that works with both because I am afraid of what performance/benefits I will lose from the latest and greatest.
    The latest version that I can determine will work with 8.0.5 is the last version for 9i.
    Any Ideas would be helpful.
    The reason for this situation is that I have a production database that I will have to keep up with until the full version of the system is complete so that is why I even care about 8.0.5.
    Thanks alot for your time,
    Thom

    I have a similar problem and I would much appreciate any help in this matter.
    I have a wireless network set at home with two computers connected to it:
    My workstation called Home-ws and my laptop called Acer. I can access the d:\ drive of my workstation from my laptop without any problem.
    On my workstation I installed the Oracle 10g product and on my laptop I installed Oracle SQL Developer. On SQL developer I am trying to create a connection to the Oracle server:
    My settings are as below:
    Connection name: orcl_system
    User name: system
    Password: ******
    Host name: Home-ws
    Port: 1521
    SID: orcl
    When I push test I am getting the following error message:
    Status: Failure –Io exception: The Network Adapter could not establish the connection
    Are there any special settings that should be made set up a wireless connection to my database?
    Then I did the following things below:
    1. I downloaded from oracle.com the instantclient-basic-win32-10.2.0.2-20060508.zip file and unzipped it in a folder called instantclient_10_2. There were a number of DLL and two jar files plus sqlplus.exe
    2. I started sqlplus from that server
    3. sqlplus failed with a similar error as sql developer.
    4. I checked for tnsping. There is no tnsping such and exe on my laptop. I looks like I have to install the DLLs I downloaded them but there are no instructions about how to install them. Should I just copy them in system32 folder?
    5. I looked for firewalls on my Home-ws workstation (where my oracle server is installed) and on my Acer laptop. The firewalls were activated. I added on exception called oracle for port 1521 on both computers and tried to connect again. I tried with both TCP and UDP options and it did not work in both cases.
    I am out of ideas. Any help would be much appreciated.
    Thank you in advance for your help.
    Julian

  • Tables not listed in JDeveloper database connection..

    Hi,
    I am configuring a DBAdapter project in JDeveloper and the database is mssql server. I could connect to the DB but any of the schema objects are not displayed. I checked the permission for the user in the database and it seems fine and there is no filter . Infact, i can open a sql worksheet for the connected database session from JDeveloper and query tables from the schema. But for creating toplink files and creating the mapping between tables, JDeveloper needs the tables to be listed. But none of the schema objects are listed. Infact i tried with two drivers. One is MSSQL Driver 1.2 as well as JTDS 1.2.3 driver. For connections from both of the drivers, the schema objects are not listed. I dont know whether this is related to the permission for the dbuser to use database metadata or something to do with JDeveloper. Pls. help. I am using JDeveloper 10.1.3.4 and SQL Server 2005. Thanks in advance for your reply.
    Thanks,
    Kuppusamy.V.,

    Hi,
    The problem is while connecting to SQLServer, the database name should not be specified in the URL as jdbc:sqlserver://devserver111:1433/databaseName=testdb. It should be jdbc:sqlserver://devserver111:1433; This will list the tables for the user used to connect. Spent around 2 days to find the solution. Hope this one will save someone else's time.
    Rgds,
    Kuppusamy.V.,

  • How to create database connection using DB2Driver in JDeveloper 10.1.2.1.0?

    I am trying to create a JDeveloper/Data Connection using com.oracle.ias.jdbc.db2.DB2Driver. The driver is registered from a User Libraries: DataDirect JDBC. I have the following class path for the library:
    E:\DataDirect\3.4\lib\YMdb2.jar;E:\DataDirect\3.4\lib\YMbase.jar;E:\DataDirect\3.4\lib\YMutil.jar
    I have no trouble configuring the connection but when I test it and I got ‘No suitable driver Vendor code 0’. What’s wrong? I have successfully created several database connections using Oracle thin driver. This is first time I am using a third party driver. Has any one successfully create a database connection using the com.oracle.ias.jdbc.db2.DB2Driver?

    Hi
    Since the error points to the unavailability of the driver class,can you double check your library claspath entries again.
    I just tried a DB2 connection using the following properties and the connection went through fine:
    Driver class name: com.oracle.ias.jdbc.db2.DB2Driver
    URL: jdbc:merant:db2://<host_name>:50000;DatabaseName=SAMPLE
    Thanks
    Prasanth

  • Jdeveloper Crashing When Opening MDB Database Connection

    Hello,
    I created a database connection to one of the local access mdb file using jdbc-odbc connection type.
    When I tried to view the tables or when I try to create a toplink connection using the same connection I created to access mdb file, my Jdeveloper is crashing.
    Any what could be the reason.
    My Jdeveloper version:
    10.1.3.4.0
    Regards
    Edited by: user20090209 on Oct 13, 2009 7:43 AM

    Time marches forward and I have no disagreement with any of the Weblogic decisions. The reality is though that we still do not have a clear answer from Oracle (although our clients sales folks are working on it) as to whether the client will have to pay to "upgrade" their Oracle Application Server (Enterprise) licenses to get the WebLogic server necessary to run the applications created by the final Production JDeveloper11g. If it costs money then it requires budgeting and that all takes a lot of time.
    We have a fairly rich application already developed and we cannot port it to Weblogic until the licensing issues are resolved. Until that happens it will have to continue to run on the OC4J container.
    BUT ... I consider this "not a problem" with respect to TP4 not running on Vista 64-bit as long as the final release JDeveloper 11g does. I'll just have to work in my VPC hosted XP Client until our clients get their licensing issues sorted out with Oracle.
    Mark

  • Problem Test Connection with Database by Oracle9i JDeveloper

    java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
              DBError.java:187
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
              DBError.java:229
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.io.IOException)
              DBError.java:342
         void oracle.jdbc.driver.OracleConnection.&lt;init&gt;(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              OracleConnection.java:415
         java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
              OracleDriver.java:485
         java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
              OracleDriver.java:337
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
              DriverManager.java:517
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties)
              DriverManager.java:146
         java.sql.Connection oracle.jdeveloper.cm.JdbcConnectionWrapper.createConnectionImpl(java.lang.String, java.lang.String, java.util.Properties)
              JdbcConnectionWrapper.java:146
         void oracle.jdeveloper.cm.JdbcConnectionWrapper.createConnection(oracle.jdeveloper.cm.ConnectionDescriptor)
              JdbcConnectionWrapper.java:110
         java.sql.Connection oracle.jdeveloper.cm.JdbcConnectionWrapper.getJdbcConnection()
              JdbcConnectionWrapper.java:175
         java.lang.Object oracle.jdeveloper.cm.JdbcConnectionWrapper.getPresentation(java.lang.String)
              JdbcConnectionWrapper.java:162
         void oracle.jdevimpl.cm.dt.browser.jdbc.JdbcBrowser.openConnectionBrowser(oracle.jdeveloper.cm.dt.ConnectionBrowsable)
              JdbcBrowser.java:133
         java.lang.Object oracle.jdeveloper.cm.dt.ConnectionNode$NodeOpen.doWork()
              ConnectionNode.java:202
         void oracle.jdeveloper.cm.dt.ProgressRunnable.run()
              ProgressRunnable.java:193
         void oracle.ide.dialogs.ProgressBar.run()
              ProgressBar.java:527
         void java.lang.Thread.run()
              Thread.java:484

    Is the TNS Listener running on the target machine in which the database is running? Is the host, port, and SID correct (note that SID is different than Service Name)
    Rob

Maybe you are looking for

  • How to fetch columns in cursor using FETCH?

    create or replace PROCEDURE newprocedur(outname OUT VARCHAR2,outroll OUT NUMBER) AS CURSOR c1 IS select Name,Rollno,Section from emp; BEGIN Open c1; fetch c1 into outname,outroll; Here out of 3 columns in cursor is it possible to fetch only two colum

  • Alias for Sender SOAP Adapter URL

    When I create a web service for an o/b interface using the wizard, I need to give the URL of the pattern http://<host:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<service>:<channel> Looking at the URL, I think there is servlet that is process

  • 10.5 RSS Screensaver not working

    Probably a stupid question, but I tried setting OS 10.5's RSS screensaver to http://images.apple.com/main/rss/hotnews/hotnews.rss, and I keep getting the error message 'Your selected subscriptions contain no pictures". On my new iMac, running 10.6, t

  • Adding Distribution KEY (GLEI) to a new Component at Process order Create

    Hello Experts. We have a Process Order where all components have the GLEI Distribution Key assigned.  FOr this particular Process order, our Scheduler routinely adds an additional Material Component (with a specific batch number to save operators fro

  • Simply Need to Know About "\n"

    If you can further suggest and answer me with a code and associated script, I'll be thankful!