public abstract class JDBC41Statement extends 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,
Class<T> type) |
<T> T |
getObject(String parameterName,
Class<T> type) |
boolean |
isCloseOnCompletion() |
public final void closeOnCompletion() throws SQLException
SQLException
public final boolean isCloseOnCompletion() throws SQLException
SQLException
public final <T> T getObject(int parameterIndex, Class<T> type) throws SQLException
SQLException
public final <T> T getObject(String parameterName, Class<T> type) throws SQLException
SQLException
Copyright © 2015. All Rights Reserved.