File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Rangarajan Balasubramanian Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Rangarajan Balasubramanian" Watch "Rangarajan Balasubramanian" New topic
Author

Rangarajan Balasubramanian

Rangarajan Balasubramanian
Greenhorn

Joined: Jun 10, 2005
Posts: 9
Tell me what are the steps to get connection while using thin driver(native pure java driver)?
Ashutosh Limaye
Ranch Hand

Joined: Oct 24, 2005
Posts: 58
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

Joined: Aug 26, 2005
Posts: 824
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.


Lack of will power has caused more failure than lack of intelligence or ability.
My Blog | Red5 Resources | Technology Update | Daily Technology Tips
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Rangarajan Balasubramanian