10.07.2015 Views

JDBC Developer's Guide - Supra - Cincom

JDBC Developer's Guide - Supra - Cincom

JDBC Developer's Guide - Supra - Cincom

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

ConnectionThe database does not support stored procedures, therefore none of the formsCallableStatement method are supported:♦♦♦CallableStatement prepareCall(String sql) throws SQLException;CallableStatement prepareCall(String sql, int resultSetType,int resultSetConcurrency) throws SQLException;CallableStatement prepareCall(String sql, int resultSetType, intresultSetConcurrency, int resultSetHoldability) throws SQLException;You can use ordbObject and/or custom mapping to invoke database methods.The <strong>Cincom</strong> ORDB <strong>JDBC</strong> driver only supports TYPE_FORWARD_ONLY ResultSets,CONCUR_READ_ONLY ResultSet concurrency, and ResultSet holdability ofCLOSE_CURSORS_AT_COMMIT.If any of the parameters in the following methods do not match the abovevalues, the method will fail:♦♦♦♦♦Statement createStatement(int resultSetType,int resultSetConcurrency) throws SQLException;PreparedStatement prepareStatement(String sql, int resultSetType, intresultSetConcurrency) throws SQLException;void setHoldability(int holdability) throws SQLException;(Will fail if holdability is not CLOSE_CURSORS_AT_COMMIT)Statement createStatement(int resultSetType, int resultSetConcurrency,int resultSetHoldability) throws SQLException;PreparedStatement prepareStatement(String sql, int resultSetType,intresultSetConcurrency, int resultSetHoldability) throws SQLException;<strong>JDBC</strong> <strong>Developer's</strong> <strong>Guide</strong>, P25-9504-03 Page 78Chapter: 5. <strong>Cincom</strong> ORDB <strong>JDBC</strong> NotesSection: Supported <strong>JDBC</strong> 3.0 interfaces

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!