Jdbc version

is there a way i can programatically determine whether the driver i am using is jdbc 2.0 compliant?

...programatically determine whether the driver i am using is jdbc 2.0 compliant.If you could how would that help you? Just because it it JDBC compliant does not mean that, for example, it has to do updatable cursors.
If you want to figure what a driver can do then you should look at Connection.getMetaData() and DatabaseMetaData.

Similar Messages

  • JDBC version used with JDeveloper

    Hi,
    I am trying to connect JDeveloper with SQLite database using Generic JDBC driver. The driver I could find is JDBC 3.0 compatible. I am able to make a connection in the database navigator and browse through the database object. I am also able to create business components (EO, VO and AM) using a table in SQLite database. So connection works well. However when I test the Model by running Application Module, I get the below error.
    (oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper) JBO-29000: Unexpected exception caught: java.lang.AbstractMethodError, msg=org.sqlite.RS.isClosed()Z
    As I understand from the JDBC driver forum, the driver does not implement the abstract method isClosed() since it is not used in JDBC 3.0. I assume that JDeveloper/ADF is using JDBC 4.0.
    My questions are
    i. is there a way by which I can confirm the JDBC version used by JDeveloper?
    ii. Can I change it to use JDBC version 3.0?
    My Jdeveloper version is 11.1.2.2.0 and Java version is 1.6.0_24.
    Thanks & Regards
    Binuraj Nair

    SQLite 3.6 seems to be the supported version as per Oracle JDeveloper 11g Release 2 (11.1.2) Certification
    Make sure you are using the drivers as per the same.

  • Jdbc version question

    Hi,
    I want to use ojdbc (jdbc 9.2.0.4) instead of the default jdbc used by JDeveloper. I am connecting to an Oracle Database (version 9.2.0.4). I have changed the project settings to use ojdbc14.jar and also registered the driver in tools/preferences. But when I print out the jdbc driver version after creating a connection object,
    I get 9.2.0.1.0 as the version. I am perplexed, is JDeveloper using the version I want it to or is this information something to do with the jdbc version in the Oracle server.
    I have also replace the Jdev\Jdbc\lib\classes12.jar with ojdbc.jar.
    Thank you for your insights
    SP

    It sounds like you are using the 9.2 driver; the driver version included with JDeveloper is 9.0.1.4.0. I'm not sure why you are not seeing the version you are expecting (9.2.0.4) and instead are seeing 9.2.0.1, but it is a 9.2 driver. It is possible that the 9.2 client install does not have the same version as the 9.2 server.
    Note that registering the driver in Tools|Preferences does not do anything for connections to Oracle databases. The driver registration is only used when connecting to non-Oracle databases. We use the driver listed in the jdev.conf file (located as ($install)\jdev\bin\jdev.conf) when connecting internally, and the driver specified in the project settings (via a library) when connecting at runtime.
    Also note that the driver provided with JDeveloper works against 9.2 databases. So unless you require some driver functionality that was added in 9.2, you should not need to change your driver (doing so shouldn't hurt, but it usually isn't necessary).
    - John McGinnis
    Oracle JDeveloper Team

  • JDBC version used by deployed applications

    Hi,
    I'm deploying my app to an Oracle Application Server and was wondering what determines the version of JDBC version my app uses? Is it determined by the version of the Application Server I'm running? Or can I change it by changing a path on my Application Server? Any assistance would be appreciated. Thanks.

    SQLite 3.6 seems to be the supported version as per Oracle JDeveloper 11g Release 2 (11.1.2) Certification
    Make sure you are using the drivers as per the same.

  • How to Find JDBC Version

    how to Find JDBC Version

    I got the solution in this thread
    http://forum.java.sun.com/thread.jspa?forumID=48&threadID=290542

  • Find JDBC Version

    HI,
    We are on 11.5.10.2
    RDBMS 10.0.2.0.4
    How to find JDBC version ...
    Thanks

    In your middle tier, edit the jserv.properties file located in the iAS_ ORACLE_HOME/Apache/Jserv/etc directory
    Locate the wrapper.classpath that is pointing to the jdbc zip file
    /u01/oracle/viscomn/java/jdbc14.zip
    Or
    http://.:port/OA_HTML/jsp/fnd/aoljtest.jsp
    Look for String ” JDBC driver version” under Connection String

  • JDBC Version problem

    Is there a way to use the JDBC API to
    get the information about JDBC version?
    Just like JDBC version 1.0 or JDBC version 2.0
    Thx.

    Why would you want to?
    There is absolutely no correlation between what a driver actually does and the JDBC version.

  • Slow Performance due to JDBC Version ?

    Technical Support for an application that uses Oracle Spatial data told me that slow application performance could be due to an old version of JDBC drivers. Has anyone else encountered this issue?
    I am using Oracle 8.1.7 Release 3 on Sun Solaris. My application uses the thin Oracle driver that came with the client installation in classes12.zip.
    Is there a better JDBC version for Spatial data?
    Andrew Greis
    FCC/CompuTech

     
    Satellite P55-A5200
    seemed to really slow down to a crawl  ...   Am I looking at virus or bad memory module?
    More likely your hard drive is failing. Multiple read/write attempts slow things down.
    Time to immediately back up everything important. Also, create an image of the drive on an external disk.
    Then run chkdsk /r at an elevated command prompt. It will insist upon rebooting Windows. Reply Yes and restart Windows. Expect this to take quite a while on a 750 GB disk.

  • How do I determine JDBC Version? - oracle.jdbc.driver

    The following is my path and classpath and script.
    Path = D:\oracle\ora90\bin;
    D:\oracle\ora90\Apache\Perl\5.00503\bin\mswin32-x86;
    C:\Program Files\Oracle\jre\1.1.8\bin;
    %SystemRoot%\system32;
    %SystemRoot%;
    %SystemRoot%\System32\Wbem;
    C:\Program Files\Common Files\AdaptecShared\System;
    C:\Program Files\Java\j2re1.4.2\bin;
    D:\oracle\ora90\LIB
    classpath = .;
    C:\Program Files\Java\j2re1.4.2\bin;
    D:\oracle\ora90\jdbc\lib\
    JDBCVersion.java
    import java.sql.*;
    import oracle.jdbc.driver.*;
    class JDBCVersion
    public static void main (String args[])
    throws SQLException
    //DriverManager.registerDriver
    //(new oracle.jdbc.driver.OracleDriver());
    // Load the Oracle JDBC driver
    DriverManager.registerDriver
    (new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:scott/tiger@t3100:1521:oracle");
    // Create Oracle DatabaseMetaData object
    DatabaseMetaData meta = conn.getMetaData();
    // gets driver info:
    System.out.println("JDBC driver version is " + meta.getDriverVersion());
    this throws the following:
    D:\oracle\ora90\jdbc\demo\samples\thin\basic\JDBCVersion.java:2: package oracle.jdbc.driver does not exist
    import oracle.jdbc.driver.*;
    ^
    D:\oracle\ora90\jdbc\demo\samples\thin\basic\JDBCVersion.java:14: package oracle.jdbc.driver does not exist
    (new oracle.jdbc.driver.OracleDriver());

    DON'T import the Oracle packages.
    That's all hidden from you by the java.sql code. All you do is register the driver and get a connection:
    Class.forName("driverClassName");
    Connection connection = DriverManager.getConnection("url", "user", "pswd");You might have a "ClassNotFoundException" in your future. I'll bet the JDBC JARs aren't in your CLASSPATH. Make sure they're JARs, not zips. Oracle used to have everything in classes12.zip, but now they've gotten smart and put them in JARs for 9.2.0.1. - MOD

  • JDBC Version/connection pooling

    Hi all
    I am using JDK1.1.8 (this is device dependant so please don't suggest using a different JDK), and jTurbo1.22 as my driver. I have three questions:
    1. What version of JDBC does JDK1.1.8 support?
    2. Can I use Connection Pooling with this set up (driver + JDK)?
    3. If I can't use connection pooling, any suggestions on how to control more than one connection to a database?
    Thanks
    John

    1. What version of JDBC does JDK1.1.8 support?Version 1.
    2. Can I use Connection Pooling with this set up (driver + JDK)?Connection pooling is a interface to a driver. You can do it in any version of java. However, if you are asking about a specific implementation that is a different matter.
    3. If I can't use connection pooling, any suggestions on how to control more than one connection to a database?
    Control it? Connection pooling requires keeping connections fresh. If you aren't using the connection then something, especially with Oracle, has to do this.
    So you solutions are:
    -Find a connection pool
    -Write your own minimalistic one and deal with keeping the connections fresh.
    -Close the connections when you are done with them.

  • JDBC version implemented by the driver

    How can I find out which version of JDBC API (JDBC 2.0, JDBC 3.0)
    is implemented by a given set of drivers supplied with ORacle installation?
    Does anyone know which version of API Oracle 9i implements?
    thanx!:)
    Menon:)

    Przemyslaw,
    I believe that a JDBC driver does not need to implement all of the JDBC interface methods in order to be compliant. There are many methods that none of the Oracle JDBC drivers implement, like "getGeneratedKeys()" in java.sql.Statement. While this is also "quite exasperating" for me, it's something I just have to live with -- and use a workaround!
    Perhaps you should check the "certification matrix" on Oracle's MetaLink Web site to see whether your environment is supported.
    For your information, you aren't the first to complain about Oracle's JDBC driver. Have you seen the Does anybody at Oracle read this forum?!? :-(( topic?
    Good Luck,
    Avi.

  • How to determine JDBC version?

    How do I determine the JDBC driver/version that is associated with a connection pool in a running instance? I don't see JDBC info when I right-click on the console/properties in the Admin tool. I am using ver. 7, sp2.

    Hi. Get a connection and do this:
    DatabaseMetaData dm = conn.getMetaData();
    System.out.println( dm.getDriverVersion() );
    This info is not available via the console.
    Joe

  • JDBC Version support

    Can someone help me understand the various levels of support the
    JDBC Drivers provide? In its simplest form, what I need is a
    driver that supports an Oracle 7.3.4 database and the JDBC
    driver must run under SDK 1.3.1. Typically, the two drivers I
    see (classes111.zip and classes12.zip) are designated to run
    under JDK 1.1.X and SDK 1.2.X respectively. Is there a special
    driver for SDK 1.3.X? And will that driver support accessing an
    Oracle database server running version 7.3.4?
    Thanks for your help.
    Mark

    http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/jdbc20ov.htm

  • Oracle JDBC version 8.1.6

    I have been using Oracle8i JDBC release 2 (8.1.6) for my application.
    I am using Oracle Thin driver.
    I have an application (in Unix) which continously pools a database .
    I did not have any problem when I was connecting to Oracle 8.1.6 on NT
    But now when I connected to Oracle 8.1.7 on Windows 2000 with the same
    driver , I have a problem.
    Its connects for lot of iterations but after quite a few iterations .I don't get a
    connection while calling DriverManager.getConnection method ...
    It hangs in that statement(DriverManager.getConnection).
    I don't even get a error..
    Can you advice on this problem.
    Is this the driver version problem.? or some thing else

    Did you load XML Developer's kit onto the database ?
    You can get it from http://technet.oracle.com/tech/xml/xdk_java/

  • Checking JDBC version

    Hi,
    i am using the JDK1.3.1_02.I want to check which version of JDBC,I am having.How to know this.Is it jdbc2.0 or any extensionsion packages are there?
    Thank u
    vasu

    Hai the other info abt the Drivers on my System is
    Database Product Name : Oracle
    Database Product Version: Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production
    JServer Release 8.1.7.2.0 - Production
    Database Driver Name : Oracle JDBC driver
    Database Driver Version : 9.0.1.1.0
    Does this support JDBC2.0.I am using jdk1.3.1_02.I have to use this bcz I am using it in seebeyond tool.I am getting compile time erros for Resultset.last() methods and isLast().How to make the Drigers version2.0.Will it help me in this regard.
    Can ANy one have idea.
    Thanks in advance
    Sreeni

Maybe you are looking for