Package org.apache.ibatis.type
Annotation Type MappedJdbcTypes
The annotation that specify jdbc types to map
TypeHandler
.
How to use:
@MappedJdbcTypes({JdbcType.CHAR, JdbcType.VARCHAR}) public class StringTrimmingTypeHandler implements TypeHandler<String> { // ... }
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionboolean
Returns 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:
true
if map,false
if otherwise
- Default:
- false
-