- java.lang.Object
-
- org.jooq.tools.jdbc.JDBC41Connection
-
- Direct Known Subclasses:
DefaultConnection
,MockConnection
public abstract class JDBC41Connection extends 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(Executor executor)
int
getNetworkTimeout()
String
getSchema()
void
setNetworkTimeout(Executor executor, int milliseconds)
void
setSchema(String s)
-
-
-
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
-
-