public abstract class JDBC41Connection
extends java.lang.Object
Connection.
Extend this type if you want to compile Connection implementations on
both JDBC 4.0 (JDK 6) and 4.1 (JDK 7).
| Constructor and Description |
|---|
JDBC41Connection() |
| Modifier and Type | Method and 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) |
public final void setSchema(java.lang.String s)
throws java.sql.SQLException
java.sql.SQLExceptionpublic final java.lang.String getSchema()
throws java.sql.SQLException
java.sql.SQLExceptionpublic final void abort(java.util.concurrent.Executor executor)
throws java.sql.SQLException
java.sql.SQLExceptionpublic final void setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds)
throws java.sql.SQLException
java.sql.SQLExceptionpublic final int getNetworkTimeout()
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2014. All Rights Reserved.