Annotation Interface MappedJdbcTypes
The annotation that specify jdbc types to map
TypeHandler.
How to use:
@MappedJdbcTypes({JdbcType.CHAR, JdbcType.VARCHAR})
public class StringTrimmingTypeHandler implements TypeHandler<String> {
// ...
}
- 作者:
- Eduardo Macarron
-
必需元素概要
所需元素 -
可选元素概要
可选元素
-
元素详细资料
-
value
JdbcType[] valueReturns jdbc types to mapTypeHandler.- 返回:
- jdbc types
-
-
-
includeNullJdbcType
boolean includeNullJdbcTypeReturns whether map to jdbc null type.- 返回:
trueif map,falseif otherwise
- 默认值:
- false
-