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
SQLException
public String getSchema() throws SQLException
SQLException
public void abort(Executor executor) throws SQLException
SQLException
public void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
SQLException
public int getNetworkTimeout() throws SQLException
SQLException
Copyright © 2019. All rights reserved.