org.jooq.tools.jdbc
Class JDBC41Statement
java.lang.Object
org.jooq.tools.jdbc.JDBC41Statement
public abstract class JDBC41Statement
- extends Object
Add JDBC 4.1 API compliance to a JDBC 4.0 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).
- Author:
- Lukas Eder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBC41Statement
public JDBC41Statement()
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
Copyright © 2012. All Rights Reserved.