JDBC
PostgreSQL provides a type 4 JDBC driver. This indicates that the driver is written in Pure Java and is platform independent. Therefore, once compiled, the driver can be used on any system.
Compiling the Driver
To build the driver at compile time of the system, include the --with-java option of the configure command. Otherwise, if the system is already installed, it can still be compiled by entering the /src/interfaces/jdbc directory and issuing the make install command.
If you have installed on a packaged-based system, there is an appropriate RPM or DEB package for JDBC installation (for example, postgresql-jdbc-7.1.2-4PGDG.i386.rpm). Once installed, it usually resides in /usr/share/pgsql.
Upon completion, the JDBC driver will be in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access