From: Glenn Wiorek <gwiorek@jmlafferty.com>
To: Shravan <pgshravan@sancharnet.in>
To: pgsql-admin@postgresql.org
Subject: Re: How to interact with the db using java
Date: Mon, 24 Nov 2003 12:38:23 -0600
Message-ID: <025001c3b2ba$244af820$143264c8@jmlafferty.com> (raw)
References: <000001c3b324$8ecd0020$1984013d@Shravan>
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 -----
From: Shravan
To: pgsql-admin@postgresql.org
Sent: Tuesday, November 25, 2003 1:18 AM
Subject: [ADMIN] How to interact with the db using java
Hi all,
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,
Shravan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gwiorek@jmlafferty.com, pgshravan@sancharnet.in
Subject: Re: How to interact with the db using java
In-Reply-To: <025001c3b2ba$244af820$143264c8@jmlafferty.com>
References: <000001c3b324$8ecd0020$1984013d@Shravan> <025001c3b2ba$244af820$143264c8@jmlafferty.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox