ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
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.


Technically you're right, but most DBMS don't seem to support this style. Maybe it has just escaped most people attention, tucked away in the javadoc there. I'm not sure from what version it came into being.


I think the getObject() style works on DB2 as well though, doesn't it? Whereas doing:


ResultSet rs = someCallable.executeQuery();


definitely doesn't work on (at least) early version of Oracle JDBC and not at all on PostgreSQL (I know coz I wrote the PG support).


Cheers!


1 to 1 of 1
  1. JDBC support for Cursors
    2003-08-22 15:56:05  anonymous2 [View]

    • JDBC support for Cursors
      2003-08-23 07:07:58  nferrier [View]

1 to 1 of 1