Skip site navigation (1) Skip section navigation (2)

Re: Java Interface for postgres database

From: Poul Kristensen <bcc5226(at)vip(dot)cybercity(dot)dk>
To: suhail sarwar <sarwar(at)postmaster(dot)co(dot)uk>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Java Interface for postgres database
Date: 2001-04-23 18:53:36
Message-ID: 3AE47A30.76BF8ACE@vip.cybercity.dk (view raw or flat)
Thread:
Lists: pgsql-novice
suhail sarwar wrote:

> Hi
>
> I am trying to build a java front end to my postgres database. I have the database, psql and jdbc setup correctly and have made various tables but I need to make a front end for data input and retreival.
>
> I am thinking of having a java program that asks a series of questions and inputs the details into the correct part of the DB and once finished sends back an integer depending on the values input to the java program.
>
> The problem is that I don't know how to use sql commands within a java program and how to send back values from the database to the java program. Does anyone know this?
>
> Any help much appreciated
>
> Regards
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

Please look at the attached file.

og look at www.javasoft.com

Regards Poul

Attachment: testservlet.java
Description: text/html (2.4 KB)

In response to

pgsql-novice by date

Next:From: Joel BurtonDate: 2001-04-23 19:10:20
Subject: Re: Remote connections to postgres...
Previous:From: Bob WhitehouseDate: 2001-04-23 18:10:58
Subject: Remote connections to postgres...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group