类 IbatisUtils
java.lang.Object
com.alibaba.druid.support.ibatis.IbatisUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected static String通过反射的方式得到id,能够兼容2.3.0和2.3.4protected static StringgetResource(Object statement) 通过反射的方式得到resource,能够兼容2.3.0和2.3.4static booleanstatic voidset(com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl session, com.ibatis.sqlmap.engine.impl.SqlMapClientImpl client) static com.ibatis.sqlmap.client.SqlMapExecutorsetClientImpl(com.ibatis.sqlmap.client.SqlMapExecutor session, SqlMapClientImplWrapper clientImplWrapper)
-
构造器详细资料
-
IbatisUtils
public IbatisUtils()
-
-
方法详细资料
-
isVersion2_3_4
public static boolean isVersion2_3_4() -
setClientImpl
public static com.ibatis.sqlmap.client.SqlMapExecutor setClientImpl(com.ibatis.sqlmap.client.SqlMapExecutor session, SqlMapClientImplWrapper clientImplWrapper) -
getId
通过反射的方式得到id,能够兼容2.3.0和2.3.4- 参数:
statement- the statement object from which to retrieve the ID- 返回:
- the ID as a string, or null if an error occurs or if the ID is null
-
getResource
通过反射的方式得到resource,能够兼容2.3.0和2.3.4- 参数:
statement- the statement object from which to retrieve the resource- 返回:
- the resource as a string, or null if an error occurs
-
set
public static void set(com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl session, com.ibatis.sqlmap.engine.impl.SqlMapClientImpl client)
-