How to switch from jdbc driver 10.x to 9.x

I currently have the jdbc driver 10.x installed and I cannot get rid of it. I deleted every instance of ojdbc14.jar on the server. and I put classes12.jar in /$catalina_home/common/lib/ I stop tomcat restart apache and than start tomcat again. and every time a create a connection and run the following code:
DatabaseMetaData dmd = connection.getMetaData();
out.println("JDBC Driver version: " + dmd.getDriverVersion());
I get the following output:
JDBC Driver version: 10.1.0.3.0
please help me! :P thanks!

I currently have the jdbc driver 10.x installed and I
cannot get rid of it. I deleted every instance of
ojdbc14.jar on the server. and I put classes12.jar in
/$catalina_home/common/lib/ I stop tomcat restart
apache and than start tomcat again. and every time a
create a connection and run the following code:
DatabaseMetaData dmd = connection.getMetaData();
out.println("JDBC Driver version: " +
dmd.getDriverVersion());
I get the following output:
JDBC Driver version: 10.1.0.3.0
please help me! :P thanks!1. download the driver you want
2. put it somewhere
3. point your classpath to the driver or register the datasource using that jar

Similar Messages

  • How can i install jdbc driver

    Hi
    i install websphere 5 and try to connect to my sql server but cannot find jdbc driver class path and can not find any jdbc driver
    pls tell me how can i install jdbc driver in my websphere
    with regards

    You may get a better response posting this question in a WebSphere specific forum. Maybe this will help, the following link shows the command you need to execute to install a JDBC driver in websphere 5.0.
    http://publib.boulder.ibm.com/infocenter/wasinfo/index.jsp?tab=search&searchWord=mysql+driver&maxHits=50

  • How to use a jdbc driver in caf

    Hi, all.
         I tried to make a ws to access DB with CAF, but I had no idea how to use a jdbc driver(.jar).
        Can anyone do me a favor? Thx 
        PS: my server is ce7.1
    Edited by: Louis HUANG on Jul 27, 2009 1:09 PM

    hi
    If you want to interact with db tables in caf,try like this.
    it may work..
    Using EJB call database tables using jdbc driver.
    Expose EJB as webservice.
    and using External service option of caf utilise this webservice in caf,do the necessary mappings..
    you can search in sdn,how to call DB tables in EJB..
    Regards
    sowmya.

  • Since you can no longer backup to disk, how to restore from external drive without losing all ratings and playlists

    since you can no longer backup to disk, how to restore from external drive without losing all ratings and playlists?

    My own opinion is that you should install the later appropriate version of Silverkeeper. That said, I would in fact recommend if you can wait a few days for an answer, that you email the La Cie Silverkeeper backup team via the email link on the site at http://www.lacie.com/silverkeeper/
    They are careful to say they are not officially providing a backup service, but when I emailed them with a query regarding usage about a year ago after downloading Silverkeeper for myself, I got a reply within a couple of days that cleared up my question.

  • My external drive switched from g drive to f, my itunes won't change to drive f, and it says drive g is unavailable, what can I do?

    This is not the easiest sight to sign up for and submit a question. However my external drive switched from g drive to f. As I downloaded the new version of itunes it won't change from g drive to f drive when I click the button to change.  It just says g drive is unavailable to download itunes which I already aware of but it won't let me browse and find the right drive my external drive is on.  It won't configure or anything what do I do?

    Change the drive letter back to G:
    See this -> http://windows.microsoft.com/en-US/windows-vista/Change-add-or-remove-a-drive-le tter

  • How to switch from a word doc to another using a keyboard shortcut?

    how to switch from a word doc to another using a keyboard shortcut?

    Cmd+tilde to switch between open Word documents, or
    Cmd+tab to switch between open applications, if that's what you are after?

  • HT5622 How to switch from one apple store to another

    How to switch from one apple store to another

    Follow this procedure:
    1. Go to Settings > iTunes & App Stores > Apple ID.
    2. Tap your Apple ID.
    3. Tap View Apple ID.
    4. Enter your password.
    5. Go to Country/Region in the popup window to change to the desired store.
    See also: http://support.apple.com/kb/HT1311

  • I am a brand new mac user...trying to figure out how to switch from the Mac Pro screen to my external monitor.  Appreciate any help.

    am a brand new mac user...trying to figure out how to switch from the Mac Pro screen to my external monitor.  Appreciate any help.  thanks

    In Finder... goto Help... In the Search Window type in Displays...
    Lots of Useful Information there...
    You may find these Links Useful too:
    http://www.apple.com/support/mac101/
    http://www.apple.com/support/macbookpro/
    Cheers,

  • How to switch from  one Data base to another data base

    Hi,
    How to switch from one Data base to another data base if first data base server like in restoring,blocking,network disconnected state.
    Please help out for the same.
    Regards,
    Anilkumar

    Sounds like a problem for forums/support from the DB provider, as this problem is normally solved through some form of HA provided by the DB (or some cluster software, but still not Java) with, normally, a shared (virtual) IP address.

  • How to switch from text message to iMessage for 1 contact

    I have one friend with an iPhone who all of the sudden in my messaging has switched from iMessage to text messages with working WiFi on and stable, on my iPhone 5 (iOS 7.1.2).  This is not a cellular or wifi issues, I guarantee, I am iMessaging other people without problem. She is also iMessaging other people without problem.
    I have tried all work arounds I've seen on the web including:
    -turning iMessage on and off, turning the phone on and off
    -deleting all conversation with her and then sending a new message
    -labeling the contact as an "iPhone" on my iPad (doesn't seem to switch label to  "iPhone" and "iPhone" is no longer available as a label on iPhone)
    -sending an iMessage on my iPad to her and then trying to use same message stream on the iPhone
    This is beyond ridiculous that there is no way to switch from text to iMessage, I know how to switch from iMessage to text when the "error" comes up that it can't be sent as in iMessage.  Any ideas?

    You didn't mention trying these two steps:
    If the issue occurs with a specific contact or contacts, delete and recreate the contact in the Contacts app. Create a new message to the newly created contact and try again.
    Back up and restore your device as new.
    ... which are listed as steps 4 and 5 near the middle of this article:
    iOS: Troubleshooting Messages

  • I bought yesterday the software MacFamilyTree 7. How to switch from English to French?

    I bought yesterday from the French ITunes store "MacFamilyTree 7. v.7.0.
    My question is "How to switch from English to French?
    I am using Mcbook Air with up dated Mountain Lion

    These applications use your system language, so you have to change the language. Go to System Preferences > Language and Text > Language, and move French to the first place. The next time you start Mac OS X, it will start up in French, and your application will show up in French

  • How to get SQL from JDBC driver tracing?

    I have a problem which I think is very basic and can be solved pretty easily with help from the JDBC driver. Other JDBC drivers that
    I use have this feature which make them easy to work with and use.
    All I want is the SQL being sent from the driver to the backend.
    I find I cant get this from the current version of the Oracle JDBC driver.
    When I turn on tracing for any JDBC program that does any meaningful work, I get megabytes of data which are meaningless from my point of view. I do get some SQL too,
    but usually with question marks instead of
    the actual data.
    It would be great if I did not get
    the megabytes of irrelevant output and
    just got the essential information.

    To reduce the amount of tracing, you can do the following:
    oracle.jdbc.driver.OracleLog.setLogVolume(oracle.jdbc.driver.OracleLog.CATEGORY_LOW_VOL);
    This should reduce the amount of tracing.
    To better understand the tracing, you need to understand the flow of your program.
    For example, the piece of code shown below would give the following traces.
    PreparedStatement pstmt = conn.prepareStatement("update EMP set ENAME = ? where ENAME = 'SCOTT'");
    pstmt.setObject(1, "JOHN");
    int rc = pstmt.executeUpdate();
    DRVR DBG1 Input SQL: "update EMP set ENAME = ? where ENAME = 'SCOTT'"
    DRVR DBG1 Output SQL: "update EMP set ENAME = :1 where ENAME = 'SCOTT'"
    DRVR OPER OraclePreparedStatement.setObject(paramIndex=1, object)
    DRVR OPER OraclePreparedStatement.setObject(paramIndex=1, object, targetSqlType=
    12, scale=0)
    DRVR OPER OraclePreparedStatement.setString(paramIndex=1, x=JOHN)
    Note that one can figure out the sql that was processed and the value binded using that sql.
    Lastly, this can be filtered out by using unix tools: java Employee | egrep 'DBG1 | OPER'

  • IPhone could not be restored. The disk you are attempting to use is full. How to switch to another drive?

    iPhone couldn't be restored. The disk you are attempting to use is full. but I can't delete anything from C cause I need everything , but I have 300 gigs on D , how to switch to D?

    Is your hard drive full on your computer?

  • How to Include Oracle JDBC Driver

    Hi Experts,
    We have a requirement to access the database  through Java Code. We are using NWDS. But we are n't able to find a clue, how to add the driver to the project. This option was there in Eclipse, if I remember correctly.
    We are using NWDS for the first time. Could any one please give a clue, if we need to do the same in a different way.
    Regards,
    SS

    Hi Vijay,
    Thanks for the reply. But we need a stand alone program to run at the command prompt(of SAP server), and the sample code is as follows.
    package abc;
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    * @author SahuS
    * To change the template for this generated type comment go to
    * Window>Preferences>Java>Code Generation>Code and Comments
    public class InsertData {
         public static void main(String[] args) throws SQLException {
              Statement mystat = null;
              Connection conn = null;
              try
                     // Step 1: Load the JDBC driver.
                     Class.forName("oracle.jdbc.driver.OracleDriver");
                     // Step 2: Establish the connection to the database.
                       conn = DriverManager.getConnection(
                                       "jdbc:oracle:thin:@SERVERNAME:1527:SXI",       // URL
                                        "SAPSXIDB",       // username
                                         "PASSWORD"        // password
                         mystat = conn.createStatement();
                        ResultSet rs = mystat.executeQuery("select * from sapsxidb.zemp_1;");
                        while (rs.next()) {
                        System.out.println(
                        rs.getInt(1) +      // first column
                        "\t" +              // the horizontal tab
                        rs.getString(2)     // second column
                        mystat.close();
                        conn.close();                           
                   catch (Exception e)
                     System.err.println("Got an exception! ");
                     System.err.println(e.getMessage());
                   finally{
    As, we could not get the option to import the Oracle JDBC Driver, we are getting exception
    Got an exception!
    oracle.jdbc.driver.OracleDriver
    So, any clue, how we can import the driver in NWDS and use it?
    Regards,
    SS

  • How to switch from Picasa to Aperture?

    Picasa for Mac does not perform too well with a large photo collection and I would like to try Aperture.
    How do I transfer my albums and starred images to Aperture?
    I have put hundreds of hours of work into my Picasa collection and don't want to loose it when moving to Aperture.

    Since this question has been sitting around for a full day without answer, I think I'll add my grain of salt, even if I do not use Picasa
    Here is a link you may find useful: Snow Leopard, Aperture 3, & Picasa Question?? Help!!! - Picasa Help
    Aperture does not support importing Picasa databases, only folders or iPhoto Libraries.
    So to import your Picasa Albums you will
    either have to export them to folders on your hard drive (perhaps separate folders for separate star tags) and import those to Aperture,
    or to make a detour to iPhoto: In iPhoto you can subscribe to a Photo Feed and so you could try to build an iPhoto Library by downloading your Picasa albums from a Photo Feed (http://www.tuaw.com/2009/07/24/ilife-101-switch-from-picasa-to-iphoto/). Once you have your Picasa albums in iPhoto you can import the iPhoto Library into Aperture.
    But whatever you will do to make the transition, be sure to create a working backup of your setup before you start. Importing to iPhoto or Aperture will create duplicates of your images, and since Picasa just references all images on your system and keeps scanning your system for new images, these duplicates may corrupt your Picasa albums.
    Good luck
    Léonie

Maybe you are looking for

  • Printing issue in iTunes 7

    I'm trying to print songs by album from my Music Library on my PC. I print it to PDF file ... it prints ok the only problem I have is that there are only 17 pages of Music but after page 17 it is all blank pages upto 97? Does anyone know what the pro

  • *Urgent*How to insert data from MS SQL to the table that create at the adobe form?

    Hi, I'm using Adobe life cycle designer 8 to do my interactive form. I would like to ask how to insert data from MS SQL to the table that i have created in my adobe interactive form? I really need the information ASAP as i need to hand in my project

  • GL account requires assignment to CO object

    Dear All, While preparing excise Invoice the accounting document is not getting released. On going to T-code VFX3 and tyring to releasing the document message comes as "Account 00000 requires assignment to CO object". Kindly guide on this issue . Tha

  • FJS-00012  Error when executing script.

    Folks, please i need help, i'm installing sap on oracle 9.2 SYSID CBT, this is SAP 4.71. It stops on the "creating or registering SAP Services (post processing)" phase, and inside the file  SAPSTARTSRV.EXE.log it's just the word SERVICE NOT STARTED.

  • CS3 master suite installation complete Finally

    Finally   I Was able to get CS3 Master suite installed . all of it. by just doing it one  to two programs at a time. ( or a complete suite) which worked perfectly. after months of playing around with this program which was poorly designed as a suite