Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Rangarajan Balasubramanian

 
Rangarajan Balasubramanian
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tell me what are the steps to get connection while using thin driver(native pure java driver)?
 
Ashutosh Limaye
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please give a appropriate topic name...

here is a small code snipet for Oracle thin

Class.forName("oracle.jdbc.driver.OracleDriver");
String OracleURL="jdbc racle:thin:@Saraswati:1521 racle9";
String username="[is specific]";
String password="[is specific]";
Connection con=DriverManager.getConnection(OracleURL,username,password);

[ March 10, 2006: Message edited by: Ashutosh Limaye ]

[ March 10, 2006: Message edited by: Ashutosh Limaye ]
[ March 10, 2006: Message edited by: Ashutosh Limaye ]
 
Sunil Kumar Gupta
Ranch Hand
Posts: 824
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Rangarajan Balasubramanian:
Tell me what are the steps to get connection while using thin driver(native pure java driver)?


Try to put a meaningful topic name next time.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!