Using pg80b1.308.jdbc3.jar got the following: (worked with
pg74.215.jdbc3.jar)
Code:
results = stmt.executeQuery("SELECT currval('LoginLog_LoginLogID_seq')");
Stack Trace:
org.postgresql.util.PSQLException: Can't use query methods that take a query
string on a PreparedStatement.
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:203)
at
org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:205)
postgresql version: 8.0beta5
Thanks,
Roger