public class AltibaseLogicalConnection
extends java.lang.Object
implements java.sql.Connection
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mClosed |
protected java.sql.Connection |
mPhysicalConnection |
protected AltibasePooledConnection |
mPooledConnection |
| Constructor and Description |
|---|
AltibaseLogicalConnection(java.sql.Connection aPhysicalConnection,
AltibasePooledConnection aParent) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearWarnings() |
void |
close() |
void |
commit() |
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() |
int |
getHoldability() |
java.sql.DatabaseMetaData |
getMetaData() |
int |
getSessionId() |
int |
getTransactionIsolation() |
java.util.Map |
getTypeMap() |
java.sql.SQLWarning |
getWarnings() |
boolean |
isClosed() |
boolean |
isReadOnly() |
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 |
setHoldability(int aHoldability) |
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected java.sql.Connection mPhysicalConnection
protected AltibasePooledConnection mPooledConnection
protected boolean mClosed
public AltibaseLogicalConnection(java.sql.Connection aPhysicalConnection,
AltibasePooledConnection aParent)
public void close()
throws java.sql.SQLException
close in interface java.lang.AutoCloseableclose in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean isClosed()
throws java.sql.SQLException
isClosed in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Statement createStatement()
throws java.sql.SQLException
createStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql)
throws java.sql.SQLException
prepareCall in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.lang.String nativeSQL(java.lang.String aSql)
throws java.sql.SQLException
nativeSQL in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setAutoCommit(boolean aAutoCommit)
throws java.sql.SQLException
setAutoCommit in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean getAutoCommit()
throws java.sql.SQLException
getAutoCommit in interface java.sql.Connectionjava.sql.SQLExceptionpublic void commit()
throws java.sql.SQLException
commit in interface java.sql.Connectionjava.sql.SQLExceptionpublic void rollback()
throws java.sql.SQLException
rollback in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.DatabaseMetaData getMetaData()
throws java.sql.SQLException
getMetaData in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setReadOnly(boolean aReadOnly)
throws java.sql.SQLException
setReadOnly in interface java.sql.Connectionjava.sql.SQLExceptionpublic boolean isReadOnly()
throws java.sql.SQLException
isReadOnly in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setCatalog(java.lang.String aCatalog)
throws java.sql.SQLException
setCatalog in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.lang.String getCatalog()
throws java.sql.SQLException
getCatalog in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setTransactionIsolation(int aLevel)
throws java.sql.SQLException
setTransactionIsolation in interface java.sql.Connectionjava.sql.SQLExceptionpublic int getTransactionIsolation()
throws java.sql.SQLException
getTransactionIsolation in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.SQLWarning getWarnings()
throws java.sql.SQLException
getWarnings in interface java.sql.Connectionjava.sql.SQLExceptionpublic void clearWarnings()
throws java.sql.SQLException
clearWarnings in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Statement createStatement(int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
createStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency)
throws java.sql.SQLException
prepareCall in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.util.Map getTypeMap()
throws java.sql.SQLException
getTypeMap in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setTypeMap(java.util.Map aMap)
throws java.sql.SQLException
setTypeMap in interface java.sql.Connectionjava.sql.SQLExceptionpublic void setHoldability(int aHoldability)
throws java.sql.SQLException
setHoldability in interface java.sql.Connectionjava.sql.SQLExceptionpublic int getHoldability()
throws java.sql.SQLException
getHoldability in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Savepoint setSavepoint()
throws java.sql.SQLException
setSavepoint in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Savepoint setSavepoint(java.lang.String aName)
throws java.sql.SQLException
setSavepoint in interface java.sql.Connectionjava.sql.SQLExceptionpublic void rollback(java.sql.Savepoint aSavepoint)
throws java.sql.SQLException
rollback in interface java.sql.Connectionjava.sql.SQLExceptionpublic void releaseSavepoint(java.sql.Savepoint aSavepoint)
throws java.sql.SQLException
releaseSavepoint in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.Statement createStatement(int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
createStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.CallableStatement prepareCall(java.lang.String aSql,
int aResultSetType,
int aResultSetConcurrency,
int aResultSetHoldability)
throws java.sql.SQLException
prepareCall in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int aAutoGeneratedKeys)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
int[] aColumnIndexes)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic java.sql.PreparedStatement prepareStatement(java.lang.String aSql,
java.lang.String[] aColumnNames)
throws java.sql.SQLException
prepareStatement in interface java.sql.Connectionjava.sql.SQLExceptionpublic int getSessionId()
throws java.sql.SQLException
java.sql.SQLException