File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes JDBC Interfaces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JDBC Interfaces" Watch "JDBC Interfaces" New topic

JDBC Interfaces

San Nan

Joined: Jul 01, 2005
Posts: 22
Dear All,

can U Please Tell me where all Interfaces has been Implemented becoz we are not declaring out class with any Interface....

(e.g Resultset, Statement, PreparedStatement etc....)

(Where is the Implementation & how our Program/Class use it)

Thanks & regards

San Nan
Mani Ram
Ranch Hand

Joined: Mar 11, 2002
Posts: 1140
Look at this thread

Quaerendo Invenietis
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
You do not need to implement those interfaces, they're implemented by the objects you get from the JDBC driver. The J2SE Guide has an introduction on how to use JDBC (

Basically, you load the Driver or get a DataSource, then use that to get a Connection to your DB, with that you create a Statement which will allow you to retrieve a ResultSet (that's the whirlwind tour from 10000 feet high).

JDBC is too complex a subject to cover in a post like this, but the guide should get you started, and there are lots of introductory articles out on the web.
I agree. Here's the link:
subject: JDBC Interfaces
It's not a secret anymore!