Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.oracle    |    Overblown overpriced overengineered SHIT    |    2,288 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,177 of 2,288    |
|    Oxmard to All    |
|    JAVA OCI Driver in 9.2.0.4    |
|    03 Mar 04 07:14:18    |
   
   From: shankeyp@no-spam.comcast.net   
      
   Is this still being supported? I was wanting to use it instead of the thin   
   driver so that I could pass just the connection aliaes (tnsnames). I am   
   understanding to use the thin driver one must:   
    try {   
      
    // register the Oracle JDBC drivers   
    DriverManager.registerDriver(   
    new oracle.jdbc.OracleDriver()   
    );   
      
    // create a Connection object, and connect to the database   
    // as store_user using the Oracle JDBC Thin driver   
    myConnection = DriverManager.getConnection(   
    "jdbc:oracle:thin:@localhost:1521:ORCL",   
    "store_user",   
    "store_password"   
    );   
      
   But I did not see any examples on using the OCI to connect to a database   
   using the connect aliaes.   
      
   Could I have one and where is it documented at?   
      
   Thanks   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca