| 限定符和类型 | 方法和说明 |
|---|---|
void |
CompoundJdbcEventListener.onAfterCommit(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e) |
void |
CompoundJdbcEventListener.onAfterConnectionClose(ConnectionInformation connectionInformation,
SQLException e) |
void |
CompoundJdbcEventListener.onAfterGetConnection(ConnectionInformation connectionInformation,
SQLException e) |
void |
CompoundJdbcEventListener.onAfterRollback(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e) |
void |
CompoundJdbcEventListener.onBeforeCommit(ConnectionInformation connectionInformation) |
void |
CompoundJdbcEventListener.onBeforeGetConnection(ConnectionInformation connectionInformation) |
void |
CompoundJdbcEventListener.onBeforeRollback(ConnectionInformation connectionInformation) |
void |
CompoundJdbcEventListener.onConnectionWrapped(ConnectionInformation connectionInformation)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ConnectionInformation |
ConnectionInformation.fromConnection(Connection connection)
This method should only be used in test scenarios
|
ConnectionInformation |
Loggable.getConnectionInformation() |
ConnectionInformation |
ConnectionInformation.getConnectionInformation() |
ConnectionInformation |
StatementInformation.getConnectionInformation() |
ConnectionInformation |
ResultSetInformation.getConnectionInformation() |
| 构造器和说明 |
|---|
CallableStatementInformation(ConnectionInformation connectionInformation,
String query) |
PreparedStatementInformation(ConnectionInformation connectionInformation,
String query) |
StatementInformation(ConnectionInformation connectionInformation) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
JdbcEventListener.onAfterCommit(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e)
This callback method is executed after the
Connection.commit() method is invoked. |
void |
JdbcEventListener.onAfterConnectionClose(ConnectionInformation connectionInformation,
SQLException e)
This callback method is executed after the
Connection.close() method is invoked. |
void |
JdbcEventListener.onAfterGetConnection(ConnectionInformation connectionInformation,
SQLException e)
|
void |
JdbcEventListener.onAfterRollback(ConnectionInformation connectionInformation,
long timeElapsedNanos,
SQLException e)
This callback method is executed after the
Connection.rollback() or the Connection.rollback(Savepoint) method is invoked. |
void |
JdbcEventListener.onBeforeCommit(ConnectionInformation connectionInformation)
This callback method is executed before the
Connection.commit() method is invoked. |
void |
JdbcEventListener.onBeforeGetConnection(ConnectionInformation connectionInformation)
|
void |
JdbcEventListener.onBeforeRollback(ConnectionInformation connectionInformation)
This callback method is executed before the
Connection.rollback() or the Connection.rollback(Savepoint) method is invoked. |
void |
JdbcEventListener.onConnectionWrapped(ConnectionInformation connectionInformation)
|
| 限定符和类型 | 方法和说明 |
|---|---|
ConnectionInformation |
ConnectionWrapper.getConnectionInformation() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ConnectionWrapper |
ConnectionWrapper.wrap(Connection delegate,
JdbcEventListener eventListener,
ConnectionInformation connectionInformation) |
| 构造器和说明 |
|---|
ConnectionWrapper(Connection delegate,
JdbcEventListener jdbcEventListener,
ConnectionInformation connectionInformation)
Should only be called by
ConnectionWrapper.wrap(Connection, JdbcEventListener, ConnectionInformation)
Setting to protected instead of private, so that CGLIB can create a subclass/proxy
See also: net.sf.cglib.proxy.Enhancer#filterConstructors (protectedOk: true) |
Copyright © 2019. All rights reserved.