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 void setSchema(java.lang.String s)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getSchema()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void abort(java.util.concurrent.Executor executor)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNetworkTimeout(java.util.concurrent.Executor executor,
int milliseconds)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getNetworkTimeout()
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2018. All Rights Reserved.