How to find out the version of JDBC driver in Java?

Hi all,
I would like to use Java to find out the version of JDBC driver that I currently use. That JDBC driver is from Oracle and the filename is "classes12.zip" for all version ( 8.1.x to 9.x ). Is any method to verify what version JDBC I currently use? Thanks a lot.

DatabaseMetaData.getDriverVersion()
http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getDriverVersion()

Similar Messages

  • How to find out the versions of family pack and mini pack installed?

    There are family pack and mini pack for HRMS.
    How to find out the versions of family pack and mini pack installed
    just by a Unix command or sqlplus Select statement?
    Thanks

    you can get the Minipack version of the products by querying fnd_product_installations or ad_patchdriver_minipks, for family packs you need to query through Metalink, OR if you have u driver file which resides on $AY_TOP/discoverer, looks for the minipacks/familypack version in the driver file.

  • From my session how to find out the version of my oracle client ?

    From my session how to find out the version of my oracle client ?
    Thanks in advance

    Client version?
    BTW, trying all forums?

  • Does anyone have any idea how to find out the version of weblogic plugin

    Does anyone have any idea about how to find out the current version of weblogic plugin used to connect from webserver to weblogic server?
    I could not find version in plugin directory.
    it's the same one that came prepackaged with Weblogic 9.2. we haven't change it.
    Sun One 6.1 SP6
    Weblogic 9.2
    Solaris 5.10
    Edited by: 985608 on 01-feb-2013 8:20
    Edited by: 985608 on 04-feb-2013 6:25
    Edited by: 985608 on 04-feb-2013 6:27

    Hi,
    You can find version of weblogic plugin using below command.
    strings <plugin module file> | grep -i wlsplugins
    Mark if this helps.
    Regards,
    Kishore

  • How to find out the version that the environment is on ?

    Hi,
    How do we find out the version that the environment is on ?
    For eg. The Production may be on R18, and the Staging on R19.
    Also, can we know in advance about the coming upgrades or downtimes ?
    Thanks & Regards

    Use the sql query below to find out the version of Oracle you are sing
    SQL> select banner from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    SQL>
    For the Unix OS use the following command below
    uname -a
    p2ttst4g:sbdb011:/export/home/oracle> uname -a
    AIX p2ttst4g 1 6 000044B1D600
    p2ttst4g:sbdb011:/export/home/oracle>
    Edited by: user11127331 on Jul 18, 2011 2:18 PM

  • How to find out the version of the SFK that is installed on Solaris 9 and 8

    On Solaris 8 and 9, I would I like to find out the version of the SFK and the leadville driver that is installed.
    Is it possible to find out this information ? Thanks.

    DatabaseMetaData.getDriverVersion()
    http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html#getDriverVersion()

  • How to find out the number of threads created under java vm at runtime

    our application seems to have hit the max number of threads that can be created under vm and the vm will just hang after that. that behavior seems to be consistent from an article that I read earlier.
    I wonder any way that java app can find out the number of threads currently created under vm?
    thanks in advance!

    If you are not starting an extra thread group you can use the Thread.activeCount method. But this willnot return all the threads, as there are some jvm threads, i.e. garbage collector. Also if you are running on a Unix type operating system then you can send a signal to the jvm to give you a thread dump, i think the signal is sighup.
    If the application is hanging i would of thought that you have a deadlock situation rather then the JVM not being able to create new threads, roughly how many threads should be running ??

  • How to find out the version of oracle in a linux box

    HI All,
    Can anyone tell me how to find the version oracle 10g on a linux box.
    Thanks

    SQL> set line 1000;
    SQL> select banner from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    SQL> define
    DEFINE _DATE           = "12-NOV-09" (CHAR)
    DEFINE CONNECTIDENTIFIER = "loghost" (CHAR)
    DEFINE _USER           = "SYSTEM" (CHAR)
    DEFINE _PRIVILEGE      = "" (CHAR)
    DEFINE SQLPLUSRELEASE = "1002000100" (CHAR)
    DEFINE _EDITOR         = "Notepad" (CHAR)
    DEFINE OVERSION = "Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Producti
    With the Partitioning, OLAP and Data Mining options" (CHAR)
    DEFINE ORELEASE = "1002000100" (CHAR)
    SQL>
    Regards
    Asif Kabir

  • How to find out the status of a file in java

    Hi
    I have an application that writes xml files anytime it is invoked. I am writing all unique files to a windows directory.
    i also have an ftp client working on that directory that scans all the files and sends them to the server every few minutes.
    I want to find a way using which all the files except the one that is being currently written by the application are transferred.
    Is there a way to find out in java as to what file is being written to by the operating system at that point of time ? I have looked around for quite a long time and have not been able to find a solution to this problem.
    Any help will be deeply appreciated.

    out = new FileOutputStream(matcher.group(1)+".open" , true);
                          FileChannel ch = out.getChannel();
                                       FileLock lock =  ch.lock(0L, Long.MAX_VALUE, false);
                                   // Connect print stream to the output stream          
                                       p = new PrintStream( out );
                            p.println ("\n" + parms.getProperty( value ) + "\n");
                                  p.flush();
                            p.close();
                                  lock.release();Ok, I tried implementing locks but I dont know why it is not working...An exception is thrown and nothing is wriiten to the file. I have employed a complete lock on the file so that no other JVM application can use it.
    Actually this is a server that grabs data sent from an Iframe and writes it down to a temp file. I open a file input stream, lock it and then use a printwriter strream to write the realyed data to the file. Any inputs as to what is wrong with the code snippet above?????

  • How do I find out the version of  Oracle Time Zone files?

    Hello there,
    How do I find out the version of Oracle Time Zone files? I'm in the process of applying the recent oracle patch and need to find out the version of oracle time zone in my db. Could you please help me?

    run
    SELECT version FROM v$timezone_file;

  • How to find out the BI Publisher Version from the Excel output file

    Hi,
    Can any one tell me How to find out the BI Publisher Version from the Excel output file generated using BI publisher.

    Take a look at it in notepad or a text viewer... it's just a MIME/HTML file...
    Example:
    From: "Created by Oracle BI Publisher 10.1.3.4.0" <>
    Subject: Created by Oracle BI Publisher 10.1.3.4.

  • How to find out the BI Publisher Version from the Excel output generated.

    Hi
    Can any one tell me How to find out the BI Publisher Version from the Excel output file generated using BI publisher.
    Edited by: 781689 on Aug 1, 2010 10:22 PM

    Hello,
    This forum is the "Oracle Reports" OTN Forum.
    The "BI Publisher" OTN Forum is here :
    BI Publisher
    Regards

  • How to find out the user who has created  a new field in the custom table.

    How to find out the user details who has created  a new field in the custom table.
    Thanks,
    Joan

    Hi Jesudasan ,
    You can know the user details with version management.Please find the
    below procedure to know.
    Go to table->Utilities tab->version->Version management->Compare the previous one .
    Hope this solves the issue,Let me know if you have any issues.
    Thanks,
    Rajani

  • How to find out the locale setting in a browser?

    In my Java web project, the multi-lingual issue on the JSP pages is handled by JSTL. It works fine so far for any input messages. However, some messages come from the container. It is needed to find out the browser's country and language settings inside of the container. My question is how to find out the settings?
    Thanks in advance.
    v.

    Hi, this I found on James' website--see http://www.rf.net/~james/perli18n.html#Q28
    Q28. Can web servers automatically detect the language of the browser and display the correct localized page?
    A28. Yes. HTTP/1.1 defines the details of how content negotiation works, including language content.
    WWW browsers send an Accept-Language request header specifying which languages are preferred for responses. This technique works fairly well, although some versions of Netscape Navigator send an improperly formatted request parameter. Also, switching language preferences in either Navigator or IE 4 doesn't always "take" without first deleting a language hint.
    Few sites do content-negotiation on language, and interestingly enough I do not know of any major portals doing this. One site that does is Sun's documentation library at SunDocs. Debian.org does a very nice job of using Apache content negotiation wih languages and also has some nice help info too on Setting the Default Language.
    Apache's Content Negotiation features will select the right page to return, whether HTML or image file. Annoyingly, the match logic is very literal, so a browser request for en-us will not match a server entry of en except as a last resort. Any other exact match will win over en, even if en-us was first preference.
    There are 2 ways of doing content negotiation with Apache: type or variant maps and multiviews.
    Variant Maps
    In httpd.conf, disable Options Multiviews if configured and add
    AddType type-var var
    DirectoryIndex index.var
    Then create an index.var file like this:
    URI: start; vary="type,language"
    URI: index.html.en
    Content-type: text/html
    Content-language: en-GB
    URI: index.html.en
    Content-type: text/html
    Content-language: en-US
    URI: index.html.en
    Content-type: text/html
    Content-language: en
    URI: index.html.fr
    Content-type: text/html
    Content-language: fr-CA
    URI: index.html.fr
    Content-type: text/html
    Content-language: fr
    URI: index.html.es
    Content-type: text/html
    Content-language: es
    Multiviews
    The multiviews technique works like this. This does add extra server load, as each content directory must be scanned for the variant document names.
    index.html is localized into variant documents such as:
    index.html.en (or index.en.html)
    index.html.fr
    index.html.es
    index.html (or index.html.html as a reader has recommended) symlinked to one of the above as the last resort.
    Here's an example of http.conf directives for this:
    # in httpd.conf
    AddLanguage en .en
    AddLanguage fr .fr
    AddLanguage es .es
    # LanguagePriority allows you to give precedence to some languages
    # in case of a tie during content negotiation.
    # Just list the languages in decreasing order of preference.
    LanguagePriority en es fr de pt
    Options Multiviews
    # end of httpd.conf fragment
    Starting in Apache 1.2, you may also create documents with multiple language extensions.
    O'Reilly's Apache - The Definitive Guide, Chapter 6
    ApacheWeek article on Language Negotiation
    Another ApacheWeek article on Language Negotiation

  • How to find out the Hire date of an employee?

    Hi All
    What is effective date, Latest start date and other date fields which are are used when we create a new employee?
    What is the difference between hire date and joining date?
    How to find out the Hire date and joining date of an employee?
    Regards
    Rahman

    The effective dates are related to date tracking. The effective start date shows when this version of the record became effective.
    The Hire Date, or Latest Satrt Date shows the date on which the employee was last hired. If he was hired before from 01/01/01 to 31/12/01, then left but was hired again from 01/01/07, the Latest Hired Date would be 01/01/07 and the First Hired Date would be 01/01/01.
    When using Oracle HR, datetracking allows you to either correct data (because it was wrong or incomplete), or update it (because a time effective change took place e.g. got married).
    The[b] effective dates show when a record was updated. So, if an update was made on 07/02/07, and the update datetrack option was used, the current record would have its effective end date set to 06/02/07 (the day before the update) and a new version would be created with the updates and an effective start date of 07/02/07.
    Hope this helps.

Maybe you are looking for