Received: from mail.retep.org.uk ([216.126.85.184]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id f0MMQo076800 for ; Mon, 22 Jan 2001 17:26:50 -0500 (EST) (envelope-from peter@retep.org.uk) Received: from heather.retep.org.uk ([193.113.112.109]) (authenticated) by mail.retep.org.uk (8.11.1/8.11.1) with ESMTP id f0MMQgk76791; Mon, 22 Jan 2001 17:26:43 -0500 (EST) (envelope-from peter@retep.org.uk) Message-Id: <5.0.2.1.0.20010122220108.00a18ec0@mail.retep.org.uk> X-Sender: peter@mail.retep.org.uk X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Mon, 22 Jan 2001 22:04:07 +0000 To: "Kogotkov, Vyacheslav" , "'pgsql-interfaces@postgresql.org'" From: Peter Mount Subject: Re: JDBC2 question -- can't find files needed In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200101/251 X-Sequence-Number: 869 At 18:07 22/01/01 +0300, Kogotkov, Vyacheslav wrote: > Hi, > > Please, help ! > I try to work with PostgreSQL 7.0.3 using JDBC2. >For performance reasons I'd like to use the JDBC2.0 standard extension too >which is represented by the package javax.sql.*. This package allows me to >use the included connection pooling mechanism which is recomended for server >applications. Thatfore I've been analyzing the JDBC driver source codes, >which was on my Linux server, and thereby I missed the classes like: > >PostgreConnectionPoolDataSource.java >PostgreDataSource.java > >Is it possible to find a PostgreJDBC driver which supports the requirements >of the JDBC2.0 standard extension javax.sql.* ??? > While I've been searching in the Internet I found this: >www.postgresql.org/docs/pgsql/src/interfaces/jdbc/ > . Overthere in >the subdirectory org/postgresql I've found a source file named >PostgresqlDataSource.java. >But I haven't found any description for it and I don't know if I can use it >for PostgreSQL >of 7.0.3 version. Just double checked my copy of CVS and its in there (src/interfaces/jdbc/org/postgresql/PostgresqlDataSource.java). Now as that copy of CVS is only a few days old, try fetching it from anoncvs. Instructions are on the web site. PS: In 7.1 the standard extensions are known as the Enterprise edition, and is automatically built if ANT (the new method of building, replacing make) finds the javax.* classes. Peter