| org.enhydra.jdbc.standard.StandardConnectionHandle org.enhydra.jdbc.standard.StandardXAConnectionHandle
Method Summary | |
synchronized PreparedStatement | checkPreparedCache(String sql, int type, int concurrency, int holdability, Object lookupKey) | synchronized PreparedStatement | checkPreparedCache(String sql, int autogeneratedkeys, Object lookupKey) | public synchronized void | close() | public void | commit() | public Statement | createStatement() | public Statement | createStatement(int resultSetType, int resultSetConcurrency) | public Statement | createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency) | public CallableStatement | prepareCall(String sql) | public CallableStatement | prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) | public PreparedStatement | prepareStatement(String sql) Creates a PreparedStatement for the given SQL. | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency) | public PreparedStatement | prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Creates a PreparedStatement for the given SQL, type and concurrency. | public PreparedStatement | prepareStatement(String sql, int autoGeneratedKeys) | public PreparedStatement | prepareStatement(String sql, int[] columnIndexes) | public PreparedStatement | prepareStatement(String sql, String[] columnNames) | public void | rollback() | public void | setAutoCommit(boolean autoCommit) | void | setGlobalTransaction(boolean setting) Called by the StandardXADataSource when a global transaction
gets associated with this connection. | public void | setTransactionManager(TransactionManager tm) | public String | toString() |
globalTransaction | boolean globalTransaction(Code) | | |
resetTxonResume | boolean resetTxonResume(Code) | | |
thisAutoCommit | public boolean thisAutoCommit(Code) | | |
transactionManager | public TransactionManager transactionManager(Code) | | |
StandardXAConnectionHandle | public StandardXAConnectionHandle(StandardXAConnection pooledCon, Hashtable preparedStatementCache, int preparedStmtCacheSize, TransactionManager tm)(Code) | | Constructor
|
createStatement | public Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code) | | |
prepareCall | public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException(Code) | | Creates a CallableStatement for the given SQL, result set type and concurency
|
prepareStatement | public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code) | | Creates a PreparedStatement for the given SQL, type and concurrency.
If possible, the statement is fetched from the cache.
|
setGlobalTransaction | void setGlobalTransaction(boolean setting) throws SQLException(Code) | | Called by the StandardXADataSource when a global transaction
gets associated with this connection.
|
setTransactionManager | public void setTransactionManager(TransactionManager tm)(Code) | | |
Methods inherited from org.enhydra.jdbc.standard.StandardConnectionHandle | public void catchInvoke(SQLException e) throws SQLException(Code)(Java Doc) synchronized PreparedStatement checkPreparedCache(String sql, int type, int concurrency, int holdability) throws SQLException(Code)(Java Doc) synchronized PreparedStatement checkPreparedCache(String sql, int autogeneratedkeys) throws SQLException(Code)(Java Doc) public synchronized void close() throws SQLException(Code)(Java Doc) protected PreparedStatement createPreparedStatement(String sql, int type, int concurrency, int holdability) throws SQLException(Code)(Java Doc) protected PreparedStatement createPreparedStatement(String sql, int autogeneratedkeys) throws SQLException(Code)(Java Doc) public Statement createStatement() throws SQLException(Code)(Java Doc) public Statement createStatementWrapper() throws SQLException(Code)(Java Doc) public boolean isClosed() throws SQLException(Code)(Java Doc) public void preInvoke() throws SQLException(Code)(Java Doc) public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException(Code)(Java Doc) public PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException(Code)(Java Doc) void returnToCache(Object key, Connection theCon)(Code)(Java Doc) void returnToCache(Object key)(Code)(Java Doc) protected void setupPreparedStatementCache()(Code)(Java Doc)
|
|
|