Returns | Signature |
---|---|
Statement | createStatement( int resultSetType, int resultSetConcurrency) |
PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) |
CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency |
These methods support both ResultSet.CONCUR_READ_ONLY and ResultSet.CONCUR_UPDATABLE concurrencies. However, you can only request an updatable ResultSet that has a TYPE_FORWARD_ONLY scrolling type. If you request an updatable ResultSet with SCROLL_SENSITIVE or SCROLL_INSENSITIVE types, Derby issues an SQLWarning and returns TYPE_SCROLL_INSENSITIVE READ_ONLY ResultSet.
(Use Connection.getWarnings to see warnings.)