Package org.apache.ibatis.type
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> {
// ...
}
- Author:
- Eduardo Macarron
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanReturns whether map to jdbc null type.
-
Element Details
-
value
JdbcType[] valueReturns jdbc types to mapTypeHandler.- Returns:
- jdbc types
-
includeNullJdbcType
boolean includeNullJdbcTypeReturns whether map to jdbc null type.- Returns:
trueif map,falseif otherwise
- Default:
false
-