public static class CharsetRegressionTest.TestBug64205QueryInterceptor extends BaseQueryInterceptor
| Modifier and Type | Field and Description |
|---|---|
private JdbcConnection |
connection |
| Constructor and Description |
|---|
TestBug64205QueryInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
QueryInterceptor |
init(MysqlConnection conn,
java.util.Properties props,
Log log)
Called once per connection that wants to use the interceptor
The properties are the same ones passed in in the URL or arguments to
Driver.connect() or DriverManager.getConnection().
|
<M extends Message> |
postProcess(M queryPacket,
M originalResponsePacket)
Called after the given query packet has been sent to the server for processing.
|
destroy, executeTopLevelOnly, postProcess, preProcessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreProcessprivate JdbcConnection connection
public QueryInterceptor init(MysqlConnection conn, java.util.Properties props, Log log)
QueryInterceptorinit in interface QueryInterceptorinit in class BaseQueryInterceptorconn - the connection for which this interceptor is being createdprops - configuration values as passed to the connection. Note that
in order to support javax.sql.DataSources, configuration properties specific
to an interceptor must be passed via setURL() on the
DataSource. QueryInterceptor properties are not exposed via
accessor/mutator methods on DataSources.log - loggerQueryInterceptorpublic <M extends Message> M postProcess(M queryPacket, M originalResponsePacket)
QueryInterceptor