Thread: need help please

need help please

From
"David De Mizio"
Date:
Can someone please answer these questions asap..I have to get my project
going..I know they are simple...probably dumb questions..but i'm new to
postgresql...any help is appreciated....

I have a few questions:

First off, where can I find the documentation for jdbc7.1-1.3.jar, the class
documentation...It is not included with this jar file...Do I need to have
postgresql version 7.1.3 installed in order to use this package..

I'm trying to use a datasource to connect to the postgresql database..

My application is a swing application...

what class do I instantiate to get  a datasource object..

$some_class ds = new $some_class
InitialContext() it = new InitialContext();

ds = (DataSource)it.lookup("java:comp/env/jdbc/AccountExplDs");

Thank you.....




_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com


Re: need help please

From
"Dave Cramer"
Date:
Hi David,

You need at least postgres 6.5 for the jar to work for simple things, if
you are using a 7.1 jar then a 7.1 database is recommended, but it will
likely work for versions below 7.1.

The documentation is simply the jdk documentation. There are some notes
about extensions that can be found at www.postgresql.org in the user
documentation on interfaces

As far as datasources go, I'm not sure they are working, do you need to
use a datasource?

Dave

-----Original Message-----
From: pgsql-jdbc-owner@postgresql.org
[mailto:pgsql-jdbc-owner@postgresql.org] On Behalf Of David De Mizio
Sent: Tuesday, January 29, 2002 8:32 PM
To: pgsql-jdbc@postgresql.org
Subject: [JDBC] need help please


Can someone please answer these questions asap..I have to get my project
going..I know they are simple...probably dumb questions..but i'm new to
postgresql...any help is appreciated....

I have a few questions:

First off, where can I find the documentation for jdbc7.1-1.3.jar, the
class documentation...It is not included with this jar file...Do I need
to have postgresql version 7.1.3 installed in order to use this
package..

I'm trying to use a datasource to connect to the postgresql database..

My application is a swing application...

what class do I instantiate to get  a datasource object..

$some_class ds = new $some_class
InitialContext() it = new InitialContext();

ds = (DataSource)it.lookup("java:comp/env/jdbc/AccountExplDs");

Thank you.....




_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com


---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster