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.Object
Add JDBC 4.1 API compliance to a JDBC 4.0Connection
.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
Constructors Constructor Description JDBC41Connection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
abort(java.util.concurrent.Executor executor)
int
getNetworkTimeout()
java.lang.String
getSchema()
void
setNetworkTimeout(java.util.concurrent.Executor executor, int milliseconds)
void
setSchema(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
-
-