Package org.jooq.tools.jdbc
Class JDBC41Connection
- java.lang.Object
-
- org.jooq.tools.jdbc.JDBC41Connection
-
- Direct Known Subclasses:
DefaultConnection,MockConnection
public abstract class JDBC41Connection extends java.lang.ObjectAdd JDBC 4.1 API compliance to a JDBC 4.0Connection.Extend this type if you want to compile
Connectionimplementations on both JDBC 4.0 (JDK 6) and 4.1 (JDK 7).- Author:
- Lukas Eder
-
-
Constructor Summary
Constructors Constructor Description JDBC41Connection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabort(java.util.concurrent.Executor executor)intgetNetworkTimeout()java.lang.StringgetSchema()voidsetNetworkTimeout(java.util.concurrent.Executor executor, int milliseconds)voidsetSchema(java.lang.String s)
-
-
-
Method Detail
-
setSchema
public void setSchema(java.lang.String s) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getSchema
public java.lang.String getSchema() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
abort
public void abort(java.util.concurrent.Executor executor) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
setNetworkTimeout
public void setNetworkTimeout(java.util.concurrent.Executor executor, int milliseconds) throws java.sql.SQLException- Throws:
java.sql.SQLException
-
getNetworkTimeout
public int getNetworkTimeout() throws java.sql.SQLException- Throws:
java.sql.SQLException
-
-