Series: Subject: Topic:
Question: 135 of 148

What is JDBC Driver interface?

The JDBC Driver interface provides vendor-specific implementations of the abstract classes provided by the JDBC API. Each vendors driver must provide implementations of the java.sql.Connection,Statement,PreparedStatement, CallableStatement, ResultSet and Driver.
Asked by: Interview Candidate | Asked on: Aug 23rd, 2005
Showing Answers 1 - 3 of 3 Answers

Answered On : Jul 16th, 2005

Here are few good tutorial topics you can read on....  Chapter 8. JDBC InterfaceTable of Contents 8.1. Setting up the JDBC Driver 8.1.1. Building the Driver 8.1.2. Setting up the Class Path 8.1.3. Preparing the Database for JDBC8.2. Using the Driver 8.2.1. Importing JDBC 8.2.2. Loading the Driver 8.2.3. Connecting to the Database 8.2.4. Closing the Connection8.3. Issuing a Query and Processing the Result 8.3.1. Using the Statement Interface 8.3.2. Using the ResultSet Interface8.4. Performing Updates 8.5. Using Large Objects 8.6. PostgreSQL Extensions to the JDBC API 8.6.1. Accessing the Extensions 8.6.2. Geometric Data Types 8.6.3. Large Objects 8.6.4. Object Serialization8.7. Using the driver in a multi-threaded or a servlet environment 8.8. Further Reading JDBC is a core API of Java 1.1 and later. It provides a standard set of interfaces to SQL-compliant databases. Postgres provides a type 4 JDBC Driver. Type 4 indicates that the driver is written in Pure Java, and communicates in the database system's own network protocol. Because of this, the driver is platform independent; once compiled, the driver can be used on any system. This chapter is not intended as a complete guide to JDBC programming, but should help to get you started. For more information refer to the standard JDBC API documentation. Also, take a look at the examples included with the source. The basic example is used here. 

Login to rate this answer.

Answered On : Aug 23rd, 2005

In jdbc connecion is a interface , we are using the methods in that interface but we didnt provide any implementation where is the implementation? 

Login to rate this answer.

Answered On : Feb 3rd, 2006

As has been mentioned above, the implementations are provided by the database vendors like for example, the classes12.jar of oracle which has the implementations.

Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions



twitter fb Linkedin GPlus RSS


Interview Question

 Ask Interview Question?


Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.