File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes java.sql.* Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

java.sql.*

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
Sheriff

Joined: Oct 13, 2005
Posts: 32830
    
    4
We don't move duplicates (thank you for noticing); we close them.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: java.sql.*
 
Similar Threads
import java.sql
Connection
Abstract classes vs. interfaces
System.in - abstract type class variable
what is the need of interface?