File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

JDBC Interfaces

San Nan
Greenhorn

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


Mani
Quaerendo Invenietis
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
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 (http://java.sun.com/j2se/1.4.2/docs/guide/jdbc/getstart/GettingStartedTOC.fm.html)

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.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC Interfaces
 
Similar Threads
interface implementation
Interface
Runnable
Where does ServletContect come in the hierarchy ?
member interfaces