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
-
Optional Element Summary
Modifier 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
-