@Deprecated public class ThinConnection extends Object implements Connection
| Modifier and Type | Field and Description |
|---|---|
static String |
ARG_DEBUGLOG
Deprecated.
|
static String |
ARG_DEBUGTRANS
Deprecated.
|
static String |
ARG_NONPROXYHOSTS
Deprecated.
|
static String |
ARG_PROXYHOSTNAME
Deprecated.
|
static String |
ARG_PROXYPORT
Deprecated.
|
static String |
ARG_WEBAPPNAME
Deprecated.
|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE| Constructor and Description |
|---|
ThinConnection(String url,
String username,
String password)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort(Executor executor)
Deprecated.
|
void |
clearWarnings()
Deprecated.
|
void |
close()
Deprecated.
|
void |
commit()
Deprecated.
|
Array |
createArrayOf(String arg0,
Object[] arg1)
Deprecated.
|
Blob |
createBlob()
Deprecated.
|
Clob |
createClob()
Deprecated.
|
NClob |
createNClob()
Deprecated.
|
SQLXML |
createSQLXML()
Deprecated.
|
Statement |
createStatement()
Deprecated.
|
Statement |
createStatement(int resultSetType,
int resultSetConcurrency)
Deprecated.
|
Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Deprecated.
|
Struct |
createStruct(String arg0,
Object[] arg1)
Deprecated.
|
Map<String,String> |
getArguments()
Deprecated.
|
boolean |
getAutoCommit()
Deprecated.
|
String |
getCatalog()
Deprecated.
|
Properties |
getClientInfo()
Deprecated.
|
String |
getClientInfo(String arg0)
Deprecated.
|
String |
getDebugTransFilename()
Deprecated.
|
int |
getHoldability()
Deprecated.
|
String |
getHostname()
Deprecated.
|
DatabaseMetaData |
getMetaData()
Deprecated.
|
int |
getNetworkTimeout()
Deprecated.
|
String |
getNonProxyHosts()
Deprecated.
|
String |
getPassword()
Deprecated.
|
String |
getPort()
Deprecated.
|
String |
getProxyHostname()
Deprecated.
|
String |
getProxyPort()
Deprecated.
|
String |
getSchema()
Deprecated.
|
String |
getService()
Deprecated.
|
String |
getSlaveBaseAddress()
Deprecated.
|
int |
getTransactionIsolation()
Deprecated.
|
Map<String,Class<?>> |
getTypeMap()
Deprecated.
|
String |
getUrl()
Deprecated.
|
String |
getUsername()
Deprecated.
|
SQLWarning |
getWarnings()
Deprecated.
|
String |
getWebAppName()
Deprecated.
|
boolean |
isClosed()
Deprecated.
|
boolean |
isDebuggingRemoteLog()
Deprecated.
|
boolean |
isReadOnly()
Deprecated.
|
boolean |
isValid(int arg0)
Deprecated.
|
boolean |
isWrapperFor(Class<?> arg0)
Deprecated.
|
String |
nativeSQL(String arg0)
Deprecated.
|
CallableStatement |
prepareCall(String arg0)
Deprecated.
|
CallableStatement |
prepareCall(String arg0,
int arg1,
int arg2)
Deprecated.
|
CallableStatement |
prepareCall(String arg0,
int arg1,
int arg2,
int arg3)
Deprecated.
|
PreparedStatement |
prepareStatement(String sql)
Deprecated.
|
PreparedStatement |
prepareStatement(String sql,
int autoGeneratedKeys)
Deprecated.
|
PreparedStatement |
prepareStatement(String sql,
int[] columnIndex)
Deprecated.
|
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
Deprecated.
|
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Deprecated.
|
PreparedStatement |
prepareStatement(String sql,
String[] columnNames)
Deprecated.
|
void |
releaseSavepoint(Savepoint arg0)
Deprecated.
|
void |
rollback()
Deprecated.
|
void |
rollback(Savepoint arg0)
Deprecated.
|
void |
setAutoCommit(boolean auto)
Deprecated.
|
void |
setCatalog(String arg0)
Deprecated.
|
void |
setClientInfo(Properties arg0)
Deprecated.
|
void |
setClientInfo(String arg0,
String arg1)
Deprecated.
|
void |
setHoldability(int arg0)
Deprecated.
|
void |
setNetworkTimeout(Executor executor,
int milliseconds)
Deprecated.
|
void |
setPassword(String password)
Deprecated.
|
void |
setReadOnly(boolean arg0)
Deprecated.
|
Savepoint |
setSavepoint()
Deprecated.
|
Savepoint |
setSavepoint(String arg0)
Deprecated.
|
void |
setSchema(String schema)
Deprecated.
|
void |
setSlaveBaseAddress(String slaveBaseAddress)
Deprecated.
|
void |
setTransactionIsolation(int arg0)
Deprecated.
|
void |
setTypeMap(Map<String,Class<?>> arg0)
Deprecated.
|
void |
setUsername(String username)
Deprecated.
|
void |
testConnection()
Deprecated.
|
<T> T |
unwrap(Class<T> arg0)
Deprecated.
|
public static final String ARG_WEBAPPNAME
public static final String ARG_PROXYHOSTNAME
public static final String ARG_PROXYPORT
public static final String ARG_NONPROXYHOSTS
public static final String ARG_DEBUGTRANS
public static final String ARG_DEBUGLOG
public ThinConnection(String url, String username, String password) throws SQLException
SQLExceptionpublic void testConnection()
throws SQLException
SQLExceptionpublic boolean isWrapperFor(Class<?> arg0) throws SQLException
isWrapperFor in interface WrapperSQLExceptionpublic <T> T unwrap(Class<T> arg0) throws SQLException
unwrap in interface WrapperSQLExceptionpublic void clearWarnings()
throws SQLException
clearWarnings in interface ConnectionSQLExceptionpublic void close()
throws SQLException
close in interface AutoCloseableclose in interface ConnectionSQLExceptionpublic void commit()
throws SQLException
commit in interface ConnectionSQLExceptionpublic Array createArrayOf(String arg0, Object[] arg1) throws SQLException
createArrayOf in interface ConnectionSQLExceptionpublic Blob createBlob() throws SQLException
createBlob in interface ConnectionSQLExceptionpublic Clob createClob() throws SQLException
createClob in interface ConnectionSQLExceptionpublic NClob createNClob() throws SQLException
createNClob in interface ConnectionSQLExceptionpublic SQLXML createSQLXML() throws SQLException
createSQLXML in interface ConnectionSQLExceptionpublic Statement createStatement() throws SQLException
createStatement in interface ConnectionSQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
createStatement in interface ConnectionSQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
createStatement in interface ConnectionSQLExceptionpublic Struct createStruct(String arg0, Object[] arg1) throws SQLException
createStruct in interface ConnectionSQLExceptionpublic boolean getAutoCommit()
throws SQLException
getAutoCommit in interface ConnectionSQLExceptionpublic String getCatalog() throws SQLException
getCatalog in interface ConnectionSQLExceptionpublic Properties getClientInfo() throws SQLException
getClientInfo in interface ConnectionSQLExceptionpublic String getClientInfo(String arg0) throws SQLException
getClientInfo in interface ConnectionSQLExceptionpublic int getHoldability()
throws SQLException
getHoldability in interface ConnectionSQLExceptionpublic DatabaseMetaData getMetaData() throws SQLException
getMetaData in interface ConnectionSQLExceptionpublic int getTransactionIsolation()
throws SQLException
getTransactionIsolation in interface ConnectionSQLExceptionpublic Map<String,Class<?>> getTypeMap() throws SQLException
getTypeMap in interface ConnectionSQLExceptionpublic SQLWarning getWarnings() throws SQLException
getWarnings in interface ConnectionSQLExceptionpublic boolean isClosed()
throws SQLException
isClosed in interface ConnectionSQLExceptionpublic boolean isReadOnly()
throws SQLException
isReadOnly in interface ConnectionSQLExceptionpublic boolean isValid(int arg0)
throws SQLException
isValid in interface ConnectionSQLExceptionpublic String nativeSQL(String arg0) throws SQLException
nativeSQL in interface ConnectionSQLExceptionpublic CallableStatement prepareCall(String arg0) throws SQLException
prepareCall in interface ConnectionSQLExceptionpublic CallableStatement prepareCall(String arg0, int arg1, int arg2) throws SQLException
prepareCall in interface ConnectionSQLExceptionpublic CallableStatement prepareCall(String arg0, int arg1, int arg2, int arg3) throws SQLException
prepareCall in interface ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
prepareStatement in interface ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
prepareStatement in interface ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int[] columnIndex) throws SQLException
prepareStatement in interface ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
prepareStatement in interface ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
prepareStatement in interface ConnectionSQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
prepareStatement in interface ConnectionSQLExceptionpublic void releaseSavepoint(Savepoint arg0) throws SQLException
releaseSavepoint in interface ConnectionSQLExceptionpublic void rollback()
throws SQLException
rollback in interface ConnectionSQLExceptionpublic void rollback(Savepoint arg0) throws SQLException
rollback in interface ConnectionSQLExceptionpublic void setAutoCommit(boolean auto)
throws SQLException
setAutoCommit in interface ConnectionSQLExceptionpublic void setCatalog(String arg0) throws SQLException
setCatalog in interface ConnectionSQLExceptionpublic void setClientInfo(Properties arg0) throws SQLClientInfoException
setClientInfo in interface ConnectionSQLClientInfoExceptionpublic void setClientInfo(String arg0, String arg1) throws SQLClientInfoException
setClientInfo in interface ConnectionSQLClientInfoExceptionpublic void setHoldability(int arg0)
throws SQLException
setHoldability in interface ConnectionSQLExceptionpublic void setReadOnly(boolean arg0)
throws SQLException
setReadOnly in interface ConnectionSQLExceptionpublic Savepoint setSavepoint() throws SQLException
setSavepoint in interface ConnectionSQLExceptionpublic Savepoint setSavepoint(String arg0) throws SQLException
setSavepoint in interface ConnectionSQLExceptionpublic void setTransactionIsolation(int arg0)
throws SQLException
setTransactionIsolation in interface ConnectionSQLExceptionpublic void setTypeMap(Map<String,Class<?>> arg0) throws SQLException
setTypeMap in interface ConnectionSQLExceptionpublic String getUrl()
public String getSlaveBaseAddress()
public void setSlaveBaseAddress(String slaveBaseAddress)
slaveBaseAddress - the slaveBaseAddress to setpublic String getUsername()
public void setUsername(String username)
username - the username to setpublic String getPassword()
public void setPassword(String password)
password - the password to setpublic String getHostname()
public String getPort()
public String getWebAppName()
public String getProxyHostname()
public String getProxyPort()
public String getNonProxyHosts()
public String getService()
public String getDebugTransFilename()
public boolean isDebuggingRemoteLog()
public void setSchema(String schema) throws SQLException
setSchema in interface ConnectionSQLExceptionpublic String getSchema() throws SQLException
getSchema in interface ConnectionSQLExceptionpublic void abort(Executor executor) throws SQLException
abort in interface ConnectionSQLExceptionpublic void setNetworkTimeout(Executor executor, int milliseconds) throws SQLException
setNetworkTimeout in interface ConnectionSQLExceptionpublic int getNetworkTimeout()
throws SQLException
getNetworkTimeout in interface ConnectionSQLException