This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 and Relational Databases
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
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: jdbc connection
 
It's not a secret anymore!