apache > db
Apache DB Project
 
Font size:      

java.sql.Connection

java.sql.Connection


Table 15. JDBC 2.0 Connection Methods Supported

ReturnsSignatureImplementation Notes
Statement createStatement( int resultSetType, int resultSetConcurrency) ResultSet.TYPE_FORWARD_ONLY and ResultSet.TYPE_SCROLL_INSENSITIVE are the only scrolling types supported. If you request TYPE_SCROLL_SENSITIVE, Derby issues an SQLWarning and returns a TYPE_SCROLL_INSENSITIVE ResultSet.

ResultSet.CONCUR_READ_ONLY is the only concurrency supported. If you request a CONCUR_UPDATABLE ResultSet, Derby issues an SQLWarning and returns a CONCUR_READ_ONLY ResultSet.

(Use ResultSet.getWarnings to see warnings.)

PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency)
CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency ResultSet.Type_FORWARD_ONLY is the only resultSetType supported.

ResultSet.CONCUR_READ_ONLY is the only concurrency supported. If you request a CONCUR_UPDATABLE ResultSet, Derby issues an SQLWarning and returns a CONCUR_READ_ONLY ResultSet.


Previous Page
Next Page
Table of Contents
Index