public abstract class JDBC41Statement
extends java.lang.Object
Statement.
Extend this type if you want to compile Statement,
PreparedStatement, and CallableStatement implementations on
both JDBC 4.0 (JDK 6) and 4.1 (JDK 7).
| Constructor and Description |
|---|
JDBC41Statement() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeOnCompletion() |
<T> T |
getObject(int parameterIndex,
java.lang.Class<T> type) |
<T> T |
getObject(java.lang.String parameterName,
java.lang.Class<T> type) |
boolean |
isCloseOnCompletion() |
public void closeOnCompletion()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isCloseOnCompletion()
throws java.sql.SQLException
java.sql.SQLExceptionpublic <T> T getObject(int parameterIndex,
java.lang.Class<T> type)
throws java.sql.SQLException
java.sql.SQLExceptionpublic <T> T getObject(java.lang.String parameterName,
java.lang.Class<T> type)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2018. All Rights Reserved.