users@glassfish.java.net

Re: Strange problem GF2 and PostgreSQL

From: <glassfish_at_javadesktop.org>
Date: Tue, 11 Dec 2007 04:49:14 PST

I am assuming that you are not using any JDBC 4.0 features. [Postgres's jdbc-4 driver is not fully implemented, refer http://jdbc.postgresql.org/download.html ; majority of new methods are stubbed out.]

https://glassfish.dev.java.net/issues/show_bug.cgi?id=2779
will have the fix for this issue.

AS_INSTALL_DIR/bin/asadmin set
domain.resources.jdbc-connection-pool.POOL_NAME.JDBC30DataSource=true

should help to solve the issue. (above flag indicates GlassFish that the datasource used here is for jdbc-30 features)



Thanks,
-Jagadish
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=249490