This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes java.sql.* Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic


santhosh.R gowda
Ranch Hand

Joined: Apr 06, 2009
Posts: 296
hi friends,
As we know java.sql package consists of interfaces and these interfaces are implemented by the corresponding data base vendors in thier own class for example connection is an interface in sql package and these interface are implemented by oracle in their class by name oracleConnection.but when we are connecting to a perticular data base we will put data base vendors jar files in class files and we are tyoping in our code as import java.sql."; why it is so like that even thoudh the implementation is in jar files we have not mentioned any where in our code.. but still we are using sql package only please tell me with example

Creativity is nothing but Breaking Rules
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874

Dont repost same question.
Wait for moderators to move your question.

Campbell Ritchie

Joined: Oct 13, 2005
Posts: 44559
We don't move duplicates (thank you for noticing); we close them.
I agree. Here's the link:
subject: java.sql.*
jQuery in Action, 3rd edition