- java.lang.Object
-
- org.jooq.tools.jdbc.JDBC41Statement
-
- Direct Known Subclasses:
DefaultStatement,MockStatement
public abstract class JDBC41Statement extends Object
Add JDBC 4.1 API compliance to a JDBC 4.0Statement.Extend this type if you want to compile
Statement,PreparedStatement, andCallableStatementimplementations on both JDBC 4.0 (JDK 6) and 4.1 (JDK 7).- Author:
- Lukas Eder
-
-
Constructor Summary
Constructors Constructor Description JDBC41Statement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseOnCompletion()<T> TgetObject(int parameterIndex, Class<T> type)<T> TgetObject(String parameterName, Class<T> type)booleanisCloseOnCompletion()
-
-
-
Method Detail
-
closeOnCompletion
public void closeOnCompletion() throws SQLException- Throws:
SQLException
-
isCloseOnCompletion
public boolean isCloseOnCompletion() throws SQLException- Throws:
SQLException
-
getObject
public <T> T getObject(int parameterIndex, Class<T> type) throws SQLException- Throws:
SQLException
-
getObject
public <T> T getObject(String parameterName, Class<T> type) throws SQLException
- Throws:
SQLException
-
-