public class AltibaseLogicalConnection extends AbstractConnection
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mClosed |
protected java.sql.Connection |
mPhysicalConnection |
protected AltibasePooledConnection |
mPooledConnection |
mIsClosed| Modifier and Type | Method and Description |
|---|---|
void |
abort(java.util.concurrent.Executor aExecutor) |
void |
clearWarnings() |
void |
close() |
void |
commit() |
java.sql.Blob |
createBlob() |
java.sql.Clob |
createClob() |
java.sql.Statement |
createStatement() |
java.sql.Statement |
createStatement(int aResultSetType,
int aResultSetConcurrency) |
java.sql.Statement |
createStatement(int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability) |
boolean |
getAutoCommit() |
java.lang.String |
getCatalog() |
java.util.Properties |
getClientInfo() |
java.lang.String |
getClientInfo(java.lang.String aName) |
int |
getHoldability() |
java.sql.DatabaseMetaData |
getMetaData() |
int |
getNetworkTimeout() |
int |
getSessionId() |
int |
getTransactionIsolation() |
java.util.Map |
getTypeMap() |
java.sql.SQLWarning |
getWarnings() |
boolean |
isClosed() |
boolean |
isReadOnly() |
boolean |
isValid(int aTimeout) |
java.lang.String |
nativeSQL(java.lang.String aSql) |
java.sql.CallableStatement |
prepareCall(java.lang.String aSql) |
java.sql.CallableStatement |
prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency) |
java.sql.CallableStatement |
prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
int aAutoGeneratedKeys) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
int[] aColumnIndexes) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability) |
java.sql.PreparedStatement |
prepareStatement(java.lang.String aSql,
java.lang.String[] aColumnNames) |
void |
releaseSavepoint(java.sql.Savepoint aSavepoint) |
void |
rollback() |
void |
rollback(java.sql.Savepoint aSavepoint) |
void |
setAutoCommit(boolean aAutoCommit) |
void |
setCatalog(java.lang.String aCatalog) |
void |
setClientInfo(java.util.Properties aProperties) |
void |
setClientInfo(java.lang.String aName,
java.lang.String aValue) |
void |
setHoldability(int aHoldability) |
void |
setNetworkTimeout(java.util.concurrent.Executor aExecutor,
int aMilliseconds) |
void |
setReadOnly(boolean aReadOnly) |
java.sql.Savepoint |
setSavepoint() |
java.sql.Savepoint |
setSavepoint(java.lang.String aName) |
void |
setTransactionIsolation(int aLevel) |
void |
setTypeMap(java.util.Map aMap) |
protected void |
throwErrorForClosed() |
createArrayOf, createNClob, createSQLXML, createStruct, getSchema, setSchemaisWrapperFor, unwrapprotected java.sql.Connection mPhysicalConnection
protected AltibasePooledConnection mPooledConnection
protected boolean mClosed
public void close()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isClosed()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Statement createStatement()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String nativeSQL(java.lang.String aSql)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setAutoCommit(boolean aAutoCommit)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean getAutoCommit()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void commit()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void rollback()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.DatabaseMetaData getMetaData()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setReadOnly(boolean aReadOnly)
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isReadOnly()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setCatalog(java.lang.String aCatalog)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getCatalog()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTransactionIsolation(int aLevel)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getTransactionIsolation()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void clearWarnings()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Statement createStatement(int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Map getTypeMap()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setTypeMap(java.util.Map aMap)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setHoldability(int aHoldability)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getHoldability()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Savepoint setSavepoint()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Savepoint setSavepoint(java.lang.String aName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void rollback(java.sql.Savepoint aSavepoint)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void releaseSavepoint(java.sql.Savepoint aSavepoint)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Statement createStatement(int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getSessionId()
throws java.sql.SQLException
java.sql.SQLExceptionprotected void throwErrorForClosed()
throws java.sql.SQLException
java.sql.SQLExceptionpublic boolean isValid(int aTimeout)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setClientInfo(java.lang.String aName,
java.lang.String aValue)
throws java.sql.SQLClientInfoException
java.sql.SQLClientInfoExceptionpublic void setClientInfo(java.util.Properties aProperties)
throws java.sql.SQLClientInfoException
java.sql.SQLClientInfoExceptionpublic java.lang.String getClientInfo(java.lang.String aName)
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Properties getClientInfo()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void abort(java.util.concurrent.Executor aExecutor)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setNetworkTimeout(java.util.concurrent.Executor aExecutor,
int aMilliseconds)
throws java.sql.SQLException
java.sql.SQLExceptionpublic int getNetworkTimeout()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.sql.Clob createClob()
throws java.sql.SQLException
createClob in interface java.sql.ConnectioncreateClob in class AbstractConnectionjava.sql.SQLExceptionpublic java.sql.Blob createBlob()
throws java.sql.SQLException
createBlob in interface java.sql.ConnectioncreateBlob in class AbstractConnectionjava.sql.SQLException