aspose file tools*
The moose likes JDBC and the fly likes jdbc connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc connection" Watch "jdbc connection" New topic
Author

jdbc connection

Rangarajan Balasubramanian
Greenhorn

Joined: Jun 10, 2005
Posts: 9
Just i want to know connection established in 4th driver(Coding)
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Depends how you want to do it. If you are using the DriverManager, you just need to load the driver class and call DriverManager.getConnection(<url> ) . If you are using a DataSource, you just call DataSource.getConnection().

Read you driver documentation. I can't think of one which doesn't come with an example.
[ June 13, 2005: Message edited by: Paul Sturrock ]

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jdbc connection
 
Similar Threads
Try/catch variable scope
jdo and eclipse
connection
J2ee app gets stuck at a stored procedure call
enterprise application with many users