- 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
, andCallableStatement
implementations 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 void
closeOnCompletion()
<T> T
getObject(int parameterIndex, Class<T> type)
<T> T
getObject(String parameterName, Class<T> type)
boolean
isCloseOnCompletion()
-
-
-
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
-
-