View RSS Feed

Recent Blogs Posts

  1. What is a JDBC driver?

    by , 04-27-2012 at 07:13 PM
    The JDBC API defines the Java interfaces and classes that programmers use to connect to databases and send queries. A JDBC driver implements these interfaces and classes for a particular DBMS vendor.

    A Java program that uses the JDBC API loads the specified driver for a particular DBMS before it actually connects to a database. The JDBC DriverManager class then sends all JDBC API calls to the loaded driver.

    The four types of JDBC drivers are:

    JDBC-ODBC ...
    Tags: jdbc driver Add / Edit Tags
  2. Using PostgreSQL JDBC driver

    by , 11-12-2011 at 06:45 PM (My Java Tips)
    PostgreSQL is a popular open source object-relational database management system that is being used for small and medium sized applications. We have two options to connect to PostgreSQL. One is to use odbc/jdbc connection and the other is to use PostgreSQL JDBC driver. In this post, I will write about how to use PostgreSQL JDBC driver to connect to PostgreSQL database.

    First of all, you will need PostgreSQL database driver. It can be downloaded from ...
  3. Types of JDBC drivers

    by , 11-11-2011 at 06:44 PM (My Java Tips)
    There are 4 different types of JDBC drivers that can be used in Java database applications. Which driver to use, depends on the requirements and available resources. I will briefly talk about each driver.

    Type 1 is JDBC-OBC bridge driver. It is pure Java and is include in java.sql.*. The client needs ODBC driver manager and ODBC driver for data source. It is ideal in situations, when ODBC driver is available for the database and is already installed on the client machine.