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 final void closeOnCompletion() throws java.sql.SQLException
java.sql.SQLException
public final boolean isCloseOnCompletion() throws java.sql.SQLException
java.sql.SQLException
public final <T> T getObject(int parameterIndex, java.lang.Class<T> type) throws java.sql.SQLException
java.sql.SQLException
public final <T> T getObject(java.lang.String parameterName, java.lang.Class<T> type) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2014. All Rights Reserved.