org.jooq.tools.jdbc
Class JDBC41Statement

java.lang.Object
  extended by 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

Constructor Summary
JDBC41Statement()
           
 
Method Summary
 void closeOnCompletion()
           
<T> T
getObject(int parameterIndex, Class<T> type)
           
<T> T
getObject(String parameterName, Class<T> type)
           
 boolean isCloseOnCompletion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBC41Statement

public JDBC41Statement()
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


Copyright © 2012. All Rights Reserved.