public class ConnectionJavaProxy extends JavaProxyBase<Connection> implements PooledConnectionProxy
delegate, proxy| Constructor and Description |
|---|
ConnectionJavaProxy() |
ConnectionJavaProxy(JdbcPooledConnection jdbcPooledConnection,
Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
commit() |
Statement |
createStatement() |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency) |
Statement |
createStatement(int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
boolean |
getAutoCommit() |
protected Map<String,Method> |
getMethodMap() |
JdbcPooledConnection |
getPooledConnection() |
Connection |
getProxiedDelegate() |
boolean |
isClosed() |
boolean |
isWrapperFor(Class<?> iface) |
CallableStatement |
prepareCall(String sql) |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency) |
CallableStatement |
prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
PreparedStatement |
prepareStatement(String sql) |
PreparedStatement |
prepareStatement(String sql,
int autoGeneratedKeys) |
PreparedStatement |
prepareStatement(String sql,
int[] columnIndexes) |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency) |
PreparedStatement |
prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability) |
PreparedStatement |
prepareStatement(String sql,
String[] columnNames) |
void |
releaseSavepoint(Savepoint savepoint) |
void |
rollback() |
void |
rollback(Savepoint savepoint) |
void |
setAutoCommit(boolean autoCommit) |
Savepoint |
setSavepoint() |
Savepoint |
setSavepoint(String name) |
String |
toString() |
<T> T |
unwrap(Class<T> iface) |
createMethodMap, getMethodKey, getProxy, invoke, isWrapperFor, unwrappublic ConnectionJavaProxy()
public ConnectionJavaProxy(JdbcPooledConnection jdbcPooledConnection, Connection connection)
public JdbcPooledConnection getPooledConnection()
getPooledConnection in interface PooledConnectionProxypublic Connection getProxiedDelegate()
getProxiedDelegate in interface PooledConnectionProxypublic void close()
throws SQLException
SQLExceptionpublic void commit()
throws SQLException
SQLExceptionpublic void rollback()
throws SQLException
SQLExceptionpublic void rollback(Savepoint savepoint) throws SQLException
SQLExceptionpublic Savepoint setSavepoint() throws SQLException
SQLExceptionpublic Savepoint setSavepoint(String name) throws SQLException
SQLExceptionpublic void releaseSavepoint(Savepoint savepoint) throws SQLException
SQLExceptionpublic boolean getAutoCommit()
throws SQLException
SQLExceptionpublic void setAutoCommit(boolean autoCommit)
throws SQLException
SQLExceptionpublic boolean isClosed()
throws SQLException
SQLExceptionpublic Statement createStatement() throws SQLException
SQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency) throws SQLException
SQLExceptionpublic Statement createStatement(int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionpublic CallableStatement prepareCall(String sql) throws SQLException
SQLExceptionpublic CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
SQLExceptionpublic CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, int autoGeneratedKeys) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, int[] columnIndexes) throws SQLException
SQLExceptionpublic PreparedStatement prepareStatement(String sql, String[] columnNames) throws SQLException
SQLExceptionpublic boolean isWrapperFor(Class<?> iface) throws SQLException
SQLExceptionpublic <T> T unwrap(Class<T> iface) throws SQLException
SQLExceptionprotected Map<String,Method> getMethodMap()
getMethodMap in class JavaProxyBase<Connection>Copyright © 2006-2016 Bitronix Software. All Rights Reserved.