• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jdbc connection

 
Rangarajan Balasubramanian
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just i want to know connection established in 4th driver(Coding)
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic