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.

Similar Messages

  • MSSQLServer jdbc connect problem on ODI 11G R2

    I have a MS SQL Server jdbc connect problem on ODI 11G R2 / Windows server 2008 64 bits.
    Tried, one by one, all versions of Microsoft drivers.
    Sqljdbc4.jar copied to : %appdata%\odi\oracledi\userlib\
    The Topology connect syntax is :
    driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL : jdbc:sqlserver://<host>:1433
    => All the topology tests end with time-outs.
    Installed 10G ODI.
    Works with 1.4 java and sqljdbc.jar version 2 jdbc driver.
    Times out with version 3 and/or Sqljdbc4.jar + JAVA_HOME & ODI_JAVA_HOME set to 1.6 path.
    also tried, with no success (time-outs) on either 10g or 11g :
    com.inet.tds.TdsDriver
    jdbc:inetdae7://<host>:1433?database=<DB>
    same results for :
    net.sourceforge.jtds.jdbc.Driver
    jdbc:jtds:sqlserver://<host>:1433
    Any suggestions for a fix?
    Many thanks in advance.

    Hello,
    ODI (11g) Studio is certified on Windows 32 bit only, not on 64bit.
    However you may still install it and configure ODI Studio to run with a 32 bit java.
    Details pls see Master Note For ODI 11g Install Issues And Questions (Doc ID 1214428.1).
    To connect to SQL Server:
    # Check and make sure the authentication mode of your Microsoft SQL Server Server is set to "SQL Server and Windows" or "Mixed", otherwise Oracle Data Integrator (ODI) is unable to connect to the database.
    # Before you create the Oracle Data Integrator (ODI) Dataserver in Topology Manager > Physical Architecture, stop all ODI processes, and place the JDBC Driver file in the ODI's userlib and "/drivers" folder.
    For ODI Studio (Local No Agent)
    %APPDATA%\odi\oracledi\userlib
    %APPDATA% is the Windows Application Data directory for the user (usually C:\Documents and Settings\<user>\Application Data).
    Standalone Agent
    ODI_HOME\oracledi\agent\drivers
    Note: If you decide to use the DataDirect driver that comes with ODI 11g install/ embedded in ODI 11g
    weblogic.jdbc.sqlserver.SQLServerDriver
    Then you don't need to worry about this step.
    # Make sure that the database is the default database of the user account employed by ODI for connection, and that the password is correct.
    # Verify (in your Microsoft SQL Server Server network configuration) that TCP/IP has been enabled on port 1433.
    For more details see How To Set Up JDBC Driver Connections For The Microsoft SQL Server For ODI (Doc ID 423914.1)
    If you try sqljdbc.jar, you need to configure ODI_JAVA_HOME to jdk1.5
    sqljdbc4.jar, jdk1.6 (since ODI 11g requires jdk1.6, I'd suggest sqljdbc4.jar)
    More see Compatibility Matrix For Java Machines And JDBC Drivers Used With ODI (Doc ID 807235.1)
    Hope that helps other people who run into this,
    Edited by: user742480 on Apr 4, 2011 12:06 PM

  • AS904: JDBC classpath problem in OC4J instance

    Hi,
    I want to run an ADF Faces web app in AS 904 (WAR contains all JAR incl. JDBC JARs). It does not work because the the application uses a newer version of the JDBC JARs than the version provided with AS904. The OC4J instance seems to load the older JDBC version instead of the JDBC version provided with the WAR.
    The classpath of the AS904 OC4J instance defined in application.xml does not include any JDBC JARs.
    This fact seems to be the root of all the trouble!
    Is there a way to change the classpath for the JDBC JARs of my OC4J instance without affecting other OC4J instances?
    Markus

    Thanks Avi!
    I can' solve my problem because the CLASSPATH of the OC4J-instance has a fixed prefix definition. Changing the CLASSPATH in application.xml oder with a cmd switch like -cp "my class path" only affects the CLASSPATH behind the prefix.
    The prefix is definds in the manifest file of the oc4j.jar like this:
    lib/ejb.jar lib/servlet.jar lib/ojsp.jar lib/jndi.jar lib/
    jdbc.jar iiop.jar iiop_gen_bin.jar lib/jms.jar lib/jta.jar lib/jmxri
    .jar lib/javax77.jar lib/javax88.jar ../../opmn/lib/ons.jar ../../op
    mn/lib/optic.jar ../../lib/dms.jar ../../dms/lib/dms.jar lib/connecto
    r.jar lib/cos.jar lib/jsse.jar ../../oracle/lib/jsse.jar lib/jnet.ja
    r lib/jcert.jar lib/activation.jar lib/mail.jar ../../javavm/lib/jasp
    er.zip ../../lib/xmlparserv2.jar ../../oracle/lib/xmlparserv2.jar lib
    /jaxp.jar lib/jaas.jar jazn.jar ../../jdbc/lib/classes12dms.jar ../..
    /oracle/jdbc/lib/classes12dms.jar ../../jdbc/lib/nls_charset12.jar ..
    /../oracle/jdbc/lib/nls_charset12.jar jaxb-rt-1.0-ea.jar ../../soap/
    lib/soap.jar ../../webservices/lib/wsserver.jar ../../webservices/lib
    /wsdl.jar ../../rdbms/jlib/aqapi.jar lib/jem.jar ../../javacache/lib/
    cache.jar lib/http_client.jar ../../jlib/jssl-1_1.jar ../../oracle/jl
    ib/jssl-1_1.jar ../../jlib/repository.jar ../../oracle/jlib/repositor
    y.jar lib/jaasmodules.jar ../../sqlj/lib/runtime12ee.jar ../../sqlj/l
    ib/translator.jar lib/crimson.jar
    As you can see, the JDBC lib is loaded with this settings before my CLASSPATH seetings!
    I bet changing this manifest file affects Oracle support. ;-)
    In the end, my J2EE web application does not run on a J2EE compliant Oracle AS 904!
    Thanks,
    Markus

  • 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/

  • A solution for Secure Static Versioning problem in 1.5.0_10

    Hi,
    I have JRE 1.3.1_09 and 1.5.0_10 on my computer and I think I have solved static versioning problem.
    My test computer:
    - Windows XP sp2
    - Internet Explorer 7 (on another computer also IE 6)
    - Firefox 2.0.0.1
    - JRE 1.3.1_09
    - JRE 1.5.0_10
    I. Solution for Internet Explorer 6 and Internet Explorer 7
    1. Edit registry and add:
    HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Deployment\Policy
    DWORD: EnableSecureStaticVersioning = 0 (Hex)
    2. Restart browser if started.
    3. Start web page with java applet.
    II. Solution for Firefox 2.0.0.1:
    1. Install 1.3 JRE in the same parent directory as 1.5 JRE.
    Because default default installation path for 1.5 JRE is C:\Program Files\Java\jre1.5.0_10 you need to modify
    1.3 installation path from default C:\Program Files\JavaSoft\JRE\1.3.1_09 to C:\Program Files\Java\jre1.3.1_09
    After installation check out that "bin" directory is in the following path:
    C:\Program Files\Java\jre1.3.1_09\bin
    2. Install 1.5 JRE in default installation directory: C:\Program Files\Java\jre1.5.0_10.
    After installation check out that "bin" directory is in the following path:
    C:\Program Files\Java\jre1.3.1_09\bin
    3. Restart browser if started.
    4. Start web page with java applet.
    Note: HTML page must use <object> tabs for Internet Explorer or <embed> tabs for any other browser (e.g. Firefox). You need to specify correct classid in object and/or embed tag.
    P.S. If anyone would like to discuss with me send me an e-mail to [email protected], but please post question to forum and just mail me a link to forum. I will write my answer to forum.
    Hope this helps,
    Grofaty

    I have been trying to find a solution for this issue at our organization for over 6 months. Finally, we have a work around to run multiple java versions for newer and aging java apps.
    Thanks,
    Adunlow

  • 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.

  • Version problem in DMS

    Hi All,
    In DMS
    When i create a document with bapi_document_create2 it is creating the document with what i have given the inputs
    documentnumber
    documenttype
    documentpart
    documentversion
    but version problem is there . Ex: if i give version as 03 but is creating the docuemnt with version from 01 . next if i give 10 as a version it is creating the document with version 02...like that..
    Please advice me .. i want to create the document with the version what iam giving.
    Regards,
    RSK

    Hi,
    Transaction Code: SE18
    Selecting the radio button "BADI name" and enter "DOCUMENT_NUMBER01" in the text box to right to see the definition.
    The method is: DOCVERSION_CHECK
    Hope this helps.
    Regards,
    Benu

  • 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

  • Labview version problem?

    Hello guys,
    I have made a subVI that controls the rpm % of a wind tunnel vane. This consists in adquiring 2 values of data within 30 seconds and compare both to see the uniformity of the flux. I use a Labview 2011 version. The problem occurs when i use this subvi in a 2012 version. The 30 seconds turn to 1 minute... I want to ask if its possible for this to be a version problem.

    I'm concerned that you are reading a file and then reading it again 3 seconds later.  This tells me you are looking for when the other process stops writing data.  File IO is a terrible way to share data.  Use a Notifier or Queue instead.  Much more efficient.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • OCCI version problem

    Hi,
    I am having a version problem with 9i.
    How can i compile OCCI with 9i database installetion?
    Which library would i need?
    my server is a SOL-Sparc-64 machine
    and oracle database server is installed there versiion oracle 9i 32bit.
    I tried to compile but it gives me error like....
    Undefined first referenced
    symbol in file
    main /usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/crt1.o
    __1cG__CrunKpure_error6F_v_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdbC__RTTI__1nDstdMlength_error__ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdMout_of_range2T6M_v_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2G6Mpkc_r1_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cG__CrunIex_alloc6FI_pv_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cG__CrunIex_throw6Fpvpkn0AQstatic_type_info_pF1_v_v_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2G6Mrk1_r1_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cDstdMbasic_string4Ccn0ALchar_traits4Cc__n0AJallocator4Cc___2t6MpkcIrkn0C__v_ /data/Indranil/prasenjit/clientlib/libocci.so
    __1cH__rwstdRexcept_msg_string2t6MIE_v_ /data/Indranil/prasenjit/clientlib/libocci.so
    Please tell me how to do it.
    Edited by: user652233 on Oct 16, 2008 1:18 AM

    Hello,
    I am trying to compile my C++ code (using OCCI) on Sun Solaris 5.9 (SPARC64PLUS) environment.
    We have compiled and tested it on RHEL 5 Linux.
    The Oracle (10g R3) database is on RHEL 5 server while OCCI/C++ application would be running on Sun Solaris 5.9 server.
    Since we have no Oracle installation on the Sun Solaris 5.9 server, there are no OCCI related libraries on this server and hence we are not able to compile our C++ code on Sun Solaris 5.9
    Can someone help me on how/where to download OCCI libraries (compile time as well as run time) for Solaris 5.9 ? I could find only Windows and RHEL versions of OCCI libraries on the Oracle website.
    Also, how stable is OCCI on Solaris 5.9 ?
    Regards,

  • Trial version problem with the wrie Create with the trial version

    help me
    trial version problem with the write Create with the trial version
    i wanna delete the Create with the trail version

    Publication on businCata I am sorry I do not understand your inquiry.  Can you please restate your question?  What Adobe software or service is your inquiry in relation too?

  • 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

  • Service pack versioning problem

    Can anyone help me solve service pack versioning problem please. This
    problem may solve some of my other problems.
    I am trying to check if my service pack has been installed properly or not.
    I issue following command from command prompt:
    C:\>java weblogic.Admin t3://localhost:7001 VERSION
    I get the following error: "Failed to connect to t3://localhost:7001 due to:
    [java.net.ConnectException: No server found at T3://localhost:7001]"
    At this time, I have weblogic 5.1 installed with service pack 2 installed.
    If I run server seems to be running, and connecting to my
    database.Eventually I am planning to upgrade to SP6 and run with jdk1.3.
    2nd problem: When I make JAVA_HOME= JDK1.3, wls does not run.

    Thanks Mike, you are right. The server was not running while I was testing
    service pack test.
    And service pack is installed. Thanks
    WLAS5.1 does not run once I change JAVA_HOME TO "C:\jdk1.3.0_02", that
    where I have jdk1.3
    I get following error message:"wlserver.exe has generated error and will be
    closed by windows. You will need to restart the program."
    John
    "Mike Reiche" <[email protected]> wrote in message
    news:3ac8fe17$[email protected]..
    >
    1) You WLAS does not seem to be listening on port 7001 of your
    localhost. Is it listening on a different port? Running on a
    different machine?
    2) What error message do you get when trying to run WLAS with
    JDK 1.3? WLAS does definitely run with JDK 1.3
    Mike Reiche
    "John" <[email protected]> wrote:
    Can anyone help me solve service pack versioning problem please. This
    problem may solve some of my other problems.
    I am trying to check if my service pack has been installed properly or
    not.
    I issue following command from command prompt:
    C:\>java weblogic.Admin t3://localhost:7001 VERSION
    I get the following error: "Failed to connect to t3://localhost:7001
    due to:
    [java.net.ConnectException: No server found at T3://localhost:7001]"
    At this time, I have weblogic 5.1 installed with service pack 2
    installed.
    If I run server seems to be running, and connecting to my
    database.Eventually I am planning to upgrade to SP6 and run with jdk1.3.
    2nd problem: When I make JAVA_HOME= JDK1.3, wls does not run.

Maybe you are looking for