# java.sql.Statement interface: supported JDBC 2.0 methods

Table 1. JDBC2.0 java.sql.Statement Methods Supported
Returns | Signature | Implementation Notes
--- | --- | ---
void | addBatch(String sql) |
void | clearBatch() |
int[] | executeBatch() |
int | getFetchDirection() | Method call does not throw an exception, but call is ignored.
int | getFetchSize() | Method call does not throw an exception, but call is ignored.
int | getMaxFieldSize() |
void | getMaxRows() |
void | setEscapeProcessing(boolean enable) |
void | setFetchDirection(int direction) | Method call does not throw an exception, but call is ignored.
void | setFetchSize(int rows) | Method call does not throw an exception, but call is ignored.
void | setMaxFieldSize(int max) | Has no effect on Blobs and Clobs.
void | setMaxRows() |

Parent topic: JDBC 2.0 features
Related reference
java.sql.CallableStatement interface: supported JDBC 2.0 methods
java.sql.Connection interface: supported JDBC 2.0 methods
java.sql.DatabaseMetaData interface: supported JDBC 2.0 methods
java.sql.PreparedStatement interface: supported JDBC 2.0 methods
java.sql.ResultSet interface: supported JDBC 2.0 methods
java.sql.ResultSetMetaData interface: supported JDBC 2.0 methods