Annotation Interface Column
Bean中的列信息注解
-
可选元素概要
可选元素修饰符和类型可选元素说明boolean是否存在列boolean字段为空时是否插入boolean字段为空时是否修改boolean插入时是否插入boolean是否查询Class<? extends org.apache.ibatis.type.TypeHandler<?>>类型转换boolean修改时是否更新列名称
-
元素详细资料
-
value
String value列名称- 返回:
- 列名称
- 默认值:
- ""
-
exists
boolean exists是否存在列- 返回:
- Boolean true: 表中存在此列 false:不是表中的列
- 默认值:
- true
-
select
boolean select是否查询- 返回:
- Boolean
- 默认值:
- true
-
insert
boolean insert插入时是否插入- 返回:
- Boolean
- 默认值:
- true
-
update
boolean update修改时是否更新- 返回:
- Boolean
- 默认值:
- true
-
ifNullInsert
boolean ifNullInsert字段为空时是否插入- 返回:
- Boolean
- 默认值:
- false
-
ifNullUpdate
boolean ifNullUpdate字段为空时是否修改- 返回:
- Boolean
- 默认值:
- false
-
typeHandler
Class<? extends org.apache.ibatis.type.TypeHandler<?>> typeHandler类型转换- 返回:
- TypeHandler 类型处理器
- 默认值:
- org.apache.ibatis.type.UnknownTypeHandler.class
-