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

Is DataSource implemented?

From: Larry Mulcahy <lmulcahy(at)qip(dot)qwest(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Is DataSource implemented?
Date: 2001-05-08 23:34:30
Message-ID: 3AF88286.97920722@qip.qwest.net (view raw or flat)
Thread:
Lists: pgsql-jdbc
Referring back to 
http://fts.postgresql.org/db/mw/msg.html?mid=82946,
I tried to use [org.]postgresql.PostgresqlDataSource
but could not find it in 
/usr/local/pgsql/share/java/postgresql.jar, created
today by compiling PostgreSQL 7.1.1 from the sources.

When I list postgresql.jar with 
jar tvf /usr/local/pgsql/share/java/postgresql.jar,
it has the other classes that are supposed to be 
under org.postgresql:

 12171 Tue May 08 15:48:50 MDT 2001 org/postgresql/Connection.class
  4332 Tue May 08 15:48:50 MDT 2001 org/postgresql/PG_Stream.class
  4204 Tue May 08 15:48:50 MDT 2001 org/postgresql/Driver.class
  2836 Tue May 08 15:48:50 MDT 2001 org/postgresql/Field.class
  2440 Tue May 08 15:48:50 MDT 2001 org/postgresql/ResultSet.class
   347 Tue May 08 15:48:52 MDT 2001 org/postgresql/Statement.class

but not PostgresqlDataSource.

I can see PostgresqlDataSource.java
sitting there in src/interfaces/jdbc/org/postgresql,
but it's not being compiled and finding its way into the
.jar file.

I see in postgresql-7.1.1/src/interfaces/jdbc/Implementation
this provocative hint:

PostgresqlDataSource
                Exists in the Java2 Enterprise edition driver only and
is the
                enterprise equivalent to Driver

What do I need to do to get the DataSource class?  Build
with some J2EE stuff?

-- 
	    Larry Mulcahy		lmulcahy(at)qip(dot)qwest(dot)net
			  PGP public key at:
   http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03

Responses

pgsql-jdbc by date

Next:From: Ian Lance TaylorDate: 2001-05-09 01:02:17
Subject: Re: Re: Outstanding patches
Previous:From: Bruce MomjianDate: 2001-05-08 22:43:45
Subject: Re: Re: Outstanding patches

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