public final class WoodConfig extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static DbConnectionFactory |
connectionFactory
链接工厂
|
static boolean |
isDebug |
static boolean |
isDeleteMustConditional |
static boolean |
isSelectItemEmptyAsNull |
static boolean |
isUpdateMustConditional |
static boolean |
isUsingSchemaPrefix |
static boolean |
isUsingUnderlineColumnName |
static boolean |
isUsingValueExpression |
static boolean |
isUsingValueNull |
static Map<String,ICacheServiceEx> |
libOfCache |
static Map<String,DbContext> |
libOfDb |
static IMapperAdaptor |
mapperAdaptor
Mapper 适配器
|
static NamingStrategy |
namingStrategy
非注解的命名策略
|
static TypeConverter |
typeConverter
字段类型转换器
|
| 构造器和说明 |
|---|
WoodConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static boolean |
isEmpty(CharSequence s) |
static void |
onCommandBuilt(Act1<Command> listener)
命令构建完成时
|
static void |
onException(Act2<Command,Throwable> listener)
出现异常时
|
static void |
onExecuteAft(Act1<Command> listener)
执行之后
|
static void |
onExecuteBef(Fun1<Boolean,Command> listener)
执行之前
|
static void |
onExecuteStm(Act2<Command,Statement> listener)
执行之中
|
static void |
onLog(Act1<Command> listener)
可以记日志时
|
protected static void |
runCommandBuiltEvent(Command cmd) |
protected static void |
runExceptionEvent(Command cmd,
Throwable ex) |
protected static void |
runExecuteAftEvent(Command cmd) |
protected static boolean |
runExecuteBefEvent(Command cmd) |
protected static void |
runExecuteStmEvent(Command cmd,
Statement stm) |
public static boolean isDebug
public static boolean isUsingValueExpression
public static boolean isUsingValueNull
public static boolean isUsingSchemaPrefix
public static boolean isUpdateMustConditional
public static boolean isDeleteMustConditional
public static boolean isUsingUnderlineColumnName
public static boolean isSelectItemEmptyAsNull
public static NamingStrategy namingStrategy
public static TypeConverter typeConverter
public static IMapperAdaptor mapperAdaptor
public static DbConnectionFactory connectionFactory
public static Map<String,ICacheServiceEx> libOfCache
protected static boolean isEmpty(CharSequence s)
protected static void runCommandBuiltEvent(Command cmd)
protected static boolean runExecuteBefEvent(Command cmd)
protected static void runExecuteAftEvent(Command cmd)
Copyright © 2023. All rights reserved.