First you must have java support enabled (--with-java) when you configure postgres for compiling. This will enable java support build the correct JDBC drivers based on your Java SDK version. Besides reading http://jdbc.postgresql.org/ as Peter pointed out, you may want to also look at the PostgreSQL developer documentation for the JDBC Interface http://www.postgresql.org/docs/current/interactive/jdbc.html or http://candle.pha.pa.us/main/writings/pgsql/sgml/jdbc.html which gives connection and programming examples.
----- Original Message -----
Sent: Tuesday, November 25, 2003 1:18 AM
Subject: [ADMIN] How to interact with the db using java
I am a very new user of postgreSQL. It was an easy task of setting up the server and database.But the problem I am having is to communicate with the db using a Java application program. Can anybody tell me how to connect to the db using JAVA.
Thanks in advance,
In response to
pgsql-admin by date
|Next:||From: Björn Lundin||Date: 2003-11-24 20:34:36|
|Subject: Re: Associating client PIDs with backend PIDs|
|Previous:||From: Peter Eisentraut||Date: 2003-11-24 18:26:21|
|Subject: Re: How to interact with the db using java|