com.github.jchanghong.autoconfig.db.mybatis.ParameterHandlerPlugin.kt Maven / Gradle / Ivy
package com.github.jchanghong.autoconfig.db.mybatis;
/**
\* Created with IntelliJ IDEA.
\* User: jiang
\* Date: 2020/1/5
\* Time: 14:59
\*/
//@Intercepts(
// value = [Signature(type = ParameterHandler::class, method = "getParameterObject", args = []),
// Signature(type = ParameterHandler::class, method = "setParameters", args = [PreparedStatement::class])
// ]
//)
//class ParameterHandlerPlugin : Interceptor {
// override fun intercept(invocation: Invocation): Any? {
// var proceed = invocation.proceed()
// return proceed
// }
//
//}
// Object getParameterObject();
//
// void setParameters(PreparedStatement ps)
// throws SQLException;