java.sql.Statement methods supported
The Statement object is used for executing a static SQL statement and returning the results it produces.
The following table lists the methods that are supported by the IMS JDBC drivers for the Statement interface.
| JDBC method | IMS Universal JDBC driver and IMS Universal JCA/JDBC driver support |
|---|---|
| addBatch(String sql) | No |
| cancel() | No |
| clearBatch() | No |
| clearWarnings() | Yes |
| close() | Yes |
| execute(String sql) | Yes |
| execute(String sql, int autoGeneratedKeys) | No |
| execute(String sql, int[] columnIndexes) | No |
| execute(String sql, String[] columnNames) | No |
| executeBatch() | No |
| executeQuery(String sql) | Yes |
| executeUpdate(String sql) | Yes |
| executeUpdate(String sql, int autoGeneratedKeys) | No |
| executeUpdate(String sql, int[] columnIndexes) | No |
| executeUpdate(String sql, String[] columnNames) | No |
| getConnection() | Yes |
| getFetchDirection() | Yes |
| getFetchSize() | Yes |
| getGeneratedKeys() | No |
| getMaxFieldSize() | Yes |
| getMaxRows() | Yes |
| getMoreResults() | Yes |
| getMoreResults(int current) | Yes |
| getQueryTimeout() | Yes |
| getResultSet() | Yes |
| getResultSetConcurrency() | Yes |
| getResultSetHoldability() | Yes |
| getResultSetType() | Yes |
| getUpdateCount() | Yes |
| getWarnings() | Yes |
| setCursorName(String name) | No |
| setEscapeProcessing(boolean enable) | Yes |
| setFetchDirection(int direction) | Yes |
| setFetchSize(int rows) | Yes |
| setMaxFieldSize(int max) | Yes |
| setMaxRows(int max) | Yes |
| setQueryTimeout(int seconds) | Yes |