public class PreparedStatementInstrumentation extends ClassInstanceMethodsEnhancePluginDefine
PreparedStatementInstrumentation define that the mysql-2.x plugin intercepts the following methods in the
com.mysql.jdbc.JDBC42PreparedStatement, com.mysql.jdbc.PreparedStatement and
com.mysql.cj.jdbc.PreparedStatement class:
1. execute
2. executeQuery
3. executeUpdate
4. executeLargeUpdate
5. addBatch| 限定符和类型 | 字段和说明 |
|---|---|
static String |
JDBC42_PREPARED_STATEMENT_CLASS_NAME |
static String |
MYSQL6_PREPARED_STATEMENT_CLASS_NAME |
CONTEXT_ATTR_NAME| 构造器和说明 |
|---|
PreparedStatementInstrumentation() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected ClassMatch |
enhanceClass() |
protected ConstructorInterceptPoint[] |
getConstructorsInterceptPoints() |
protected InstanceMethodsInterceptPoint[] |
getInstanceMethodsInterceptPoints() |
getStaticMethodsInterceptPointsenhancedefine, witnessClassespublic static final String MYSQL6_PREPARED_STATEMENT_CLASS_NAME
protected final ConstructorInterceptPoint[] getConstructorsInterceptPoints()
protected final InstanceMethodsInterceptPoint[] getInstanceMethodsInterceptPoints()
protected ClassMatch enhanceClass()
Copyright © 2018 The Apache Software Foundation. All rights reserved.