| Article: |
Stored Procedures for Java Programmers | |
| Subject: | JDBC support for Cursors | |
| Date: | 2003-08-15 13:14:07 | |
| From: | nferrier | |
|
Response to: JDBC support for Cursors
|
||
|
Hi Gokul.
|
||
Showing messages 1 through 2 of 2.
-
JDBC support for Cursors
2003-08-22 15:56:05 anonymous2 [View]
-
JDBC support for Cursors
2003-08-23 07:07:58 nferrier [View]
I wrote the PG JDBC code for getting a ResultSet from a cursor return value earlier this year.
Unfortunately, PostgreSQL 7.4 has taken much longer to reach release than I hoped. It is now in BETA so you should be able to get a tar ball going quite easily. The 7.4 JDBC driver will work on a 7.3 database with no problems.



Exception in thread "main" No class found for refcursor
at org.postgresql.jdbc1.AbstractJdbc1Connection.getObject(AbstractJdbc1Connection.java:693)
This is using PostgreSQL 7.3.4 with its supplied JDBC driver. What version did you write this support for?