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.SQLException
public final java.lang.String getSchema() throws java.sql.SQLException
java.sql.SQLException
public final void abort(java.util.concurrent.Executor executor) throws java.sql.SQLException
java.sql.SQLException
public final void setNetworkTimeout(java.util.concurrent.Executor executor, int milliseconds) throws java.sql.SQLException
java.sql.SQLException
public final int getNetworkTimeout() throws java.sql.SQLException
java.sql.SQLException
Copyright © 2014. All Rights Reserved.