File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 REST with Spring (video course) this week in the Spring 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: 45335
We don't move duplicates (thank you for noticing); we close them.
I agree. Here's the link:
subject: java.sql.*
It's not a secret anymore!