public abstract class JDBC41Connection extends 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(Executor executor) |
int |
getNetworkTimeout() |
String |
getSchema() |
void |
setNetworkTimeout(Executor executor,
int milliseconds) |
void |
setSchema(String s) |
public void setSchema(String s) throws SQLException
SQLExceptionpublic String getSchema() throws SQLException
SQLExceptionpublic void abort(Executor executor) throws SQLException
SQLExceptionpublic void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
SQLExceptionpublic int getNetworkTimeout()
throws SQLException
SQLExceptionCopyright © 2013. All Rights Reserved.