Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> JDBC types for getting a ResultSet from a CallableStatement
Hello,
The following is a very stripped down block of code, but it gets at the heart of my question. The type used in this block of code is specific to the Oracle database driver. What types do I need for the other database drivers. I remember that there was a java.sql.Types entry to use as a general case, but it has been a while since I started using this code and I forgot the general case. I would appreciate any help.
stmt = conn.prepareCall("{call GetEmployees(?)}");
stmt.registerOutParameter(1,
oracle.jdbc.driver.OracleTypes.CURSOR);stmt.execute();
Thanks,
Loren
Received on Mon Jan 07 2002 - 11:30:43 CST
![]() |
![]() |