Is DataSource implemented? - Mailing list pgsql-jdbc

From Larry Mulcahy
Subject Is DataSource implemented?
Date
Msg-id 3AF88286.97920722@qip.qwest.net
Whole thread Raw
List 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@qip.qwest.net
              PGP public key at:
   http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x2C4C5A03

pgsql-jdbc by date:

Previous
From: Jeremy Buchmann
Date:
Subject: Re: "No results" exception on insert
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] MULTIBYTE and SQL_ASCII (was Re: Re: A bug with pgsql 7.1/jdbc and non-ascii (8-bit) chars?)