public class SqlConfiguration
extends java.lang.Object
| 构造器和说明 |
|---|
SqlConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addInterceptor(SqlCommandInterceptor interceptor,
int index)
设置拦截器
|
static java.lang.Object |
doIntercept(SqlCommand command,
SqlCallable callable)
执行拦截
|
static RowConverterFactory |
getConverter()
获取转换工厂
|
static void |
setConverter(RowConverterFactory converter)
设置转换工厂
|
public static void addInterceptor(SqlCommandInterceptor interceptor, int index)
public static java.lang.Object doIntercept(SqlCommand command, SqlCallable callable) throws java.sql.SQLException
command - 命令callable - 可调用的java.sql.SQLExceptionpublic static RowConverterFactory getConverter()
public static void setConverter(RowConverterFactory converter)