org.jooq.tools.jdbc
Class JDBC41Connection

java.lang.Object
  extended by org.jooq.tools.jdbc.JDBC41Connection

public abstract class JDBC41Connection
extends Object

Add JDBC 4.1 API compliance to a JDBC 4.0 Connection

Extend this type if you want to compile Connection implementations on both JDBC 4.0 (JDK 6) and 4.1 (JDK 7).

Author:
Lukas Eder

Constructor Summary
JDBC41Connection()
           
 
Method Summary
 void abort(Executor executor)
           
 int getNetworkTimeout()
           
 String getSchema()
           
 void setNetworkTimeout(Executor executor, int milliseconds)
           
 void setSchema(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDBC41Connection

public JDBC41Connection()
Method Detail

setSchema

public void setSchema(String s)
               throws SQLException
Throws:
SQLException

getSchema

public String getSchema()
                 throws SQLException
Throws:
SQLException

abort

public void abort(Executor executor)
           throws SQLException
Throws:
SQLException

setNetworkTimeout

public void setNetworkTimeout(Executor executor,
                              int milliseconds)
                       throws SQLException
Throws:
SQLException

getNetworkTimeout

public int getNetworkTimeout()
                      throws SQLException
Throws:
SQLException


Copyright © 2012. All Rights Reserved.