Thread: jdbc driver question
Hi,
I had downloaded a driver for postgresql database server from your site and I can't seem to find PostgresqlDataSource class there. I tried postgresql 7.2 and 7.3 versions JDBC2.
Any suggestions, thanks
Do you know if you're looking for a ConnectionPoolDataSource (app server) or a DataSource (non-J2EE application)? In any case, go to: http://jdbc.postgresql.org/download.html The "Development Drivers" category has a JDBC 3 driver with both DS and CPDS. It looks like the DataSources were accidentally omitted from the JDBC 2 builds that are up there right now, so you'd have to build from CVS for JDBC 2 support. For documentation, you can see: http://candle.pha.pa.us/main/writings/pgsql/sgml/jdbc-datasource.html Aaron On Tue, 1 Oct 2002, dmitriy wrote: > Hi, > I had downloaded a driver for postgresql database server from your > site and I can't seem to find PostgresqlDataSource class there. I tried > postgresql 7.2 and 7.3 versions JDBC2. > > Any suggestions, thanks >
Dmitriy, The prebuilt jars on the website for jdbc2 do not contain this support. You will need to build from source in order to have this functionality for jdbc2. The jdbc3 driver does have this support built in to the prebuilt jar file. thanks, --Barry dmitriy wrote: > Hi, > I had downloaded a driver for postgresql database server from your > site and I can't seem to find PostgresqlDataSource class there. I tried > postgresql 7.2 and 7.3 versions JDBC2. > > Any suggestions, thanks
Dmitriy, The prebuilt jars on the website for jdbc2 do not contain this support. You will need to build from source in order to have this functionality for jdbc2. The jdbc3 driver does have this support built in to the prebuilt jar file. thanks, --Barry dmitriy wrote: > Hi, > I had downloaded a driver for postgresql database server from your > site and I can't seem to find PostgresqlDataSource class there. I tried > postgresql 7.2 and 7.3 versions JDBC2. > > Any suggestions, thanks