skip to main content
JDBC Support : Statement
 

Try DataDirect Cloud Now

Statement

Statement Methods
Version Introduced
Supported
Comments
void addBatch(String)
2.0 Core
Yes
The driver throws an "invalid method call" exception for PreparedStatement and CallableStatement.
void cancel()
1.0
Yes
void clearBatch()
2.0 Core
Yes
void clearWarnings()
1.0
Yes
void close()
1.0
Yes
boolean execute(String)
1.0
Yes
The driver throws an "invalid method call" exception for PreparedStatement and CallableStatement.
boolean execute(String, int)
3.0
Yes
boolean execute(String, int [])
3.0
Yes
The driver throws an "unsupported method" exception.
boolean execute(String, String [])
3.0
Yes
The driver throws an "unsupported method" exception.
int [] executeBatch()
2.0 Core
Yes
ResultSet executeQuery(String)
1.0
Yes
The driver throws an "invalid method call" exception for PreparedStatement and CallableStatement.
int executeUpdate(String)
1.0
Yes
The driver throws an "invalid method call" exception for PreparedStatement and CallableStatement.
int executeUpdate(String, int)
3.0
Yes
int executeUpdate(String, int [])
3.0
Yes
The driver throws an "unsupported method" exception.
int executeUpdate(String, String [])
3.0
Yes
The driver throws an "unsupported method" exception.
Connection getConnection()
2.0 Core
Yes
int getFetchDirection()
2.0 Core
Yes
int getFetchSize()
2.0 Core
Yes
ResultSet getGeneratedKeys()
3.0
Yes
Salesforce-type data stores: The driver returns the ID of the last row that was inserted.
int getMaxFieldSize()
1.0
Yes
int getMaxRows()
1.0
Yes
boolean getMoreResults()
1.0
Yes
boolean getMoreResults(int)
3.0
Yes
int getQueryTimeout()
1.0
Yes
The driver throws an "unsupported method" exception.
ResultSet getResultSet()
1.0
Yes
int getResultSetConcurrency()
2.0 Core
Yes
int getResultSetHoldability()
3.0
Yes
int getResultSetType()
2.0 Core
Yes
int getUpdateCount()
1.0
Yes
SQLWarning getWarnings()
1.0
Yes
boolean isClosed()
4.0
Yes
boolean isPoolable()
4.0
Yes
boolean isWrapperFor(Class<?> iface)
4.0
Yes
void setCursorName(String)
1.0
No
The driver throws an "unsupported method" exception.
void setEscapeProcessing(boolean)
1.0
Yes
The driver ignores this method.
void setFetchDirection(int)
2.0 Core
Yes
void setFetchSize(int)
2.0 Core
Yes
void setMaxFieldSize(int)
1.0
Yes
void setMaxRows(int)
1.0
Yes
void setPoolable(boolean)
4.0
Yes
void setQueryTimeout(int)
1.0
Yes
<T> T unwrap(Class<T> iface)
4.0
Yes