public class AnnotationSqlScriptWrapper extends Object implements SqlScriptWrapper
SqlWrapper 注解支持对 SQL 的扩展SqlScriptWrapper.Instance| Constructor and Description |
|---|
AnnotationSqlScriptWrapper() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
newInstance(Class<T> instanceClass,
Object target,
ElementType type,
Annotation[] annotations)
实例化 AbstractSqlScriptWrapper 对象
|
SqlScript |
wrap(org.apache.ibatis.builder.annotation.ProviderContext context,
EntityTable entity,
SqlScript sqlScript)
对 script 包装中的 SQL 进行加工处理
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwrapSqlScriptpublic SqlScript wrap(org.apache.ibatis.builder.annotation.ProviderContext context, EntityTable entity, SqlScript sqlScript)
SqlScriptWrapperwrap in interface SqlScriptWrappercontext - 当前接口和方法信息entity - 实体类sqlScript - sql脚本public <T> T newInstance(Class<T> instanceClass, Object target, ElementType type, Annotation[] annotations)
T - instanceClass - target - type - annotations - Copyright © 2022. All rights reserved.