Package org.apache.ibatis.type
Annotation Type MappedJdbcTypes
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface MappedJdbcTypes
The annotation that specify jdbc types to mapTypeHandler
.How to use:
@MappedJdbcTypes({JdbcType.CHAR, JdbcType.VARCHAR}) public class StringTrimmingTypeHandler implements TypeHandler<String> { // ... }
- Author:
- Eduardo Macarron
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description JdbcType[]
value
Returns jdbc types to mapTypeHandler
.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description boolean
includeNullJdbcType
Returns whether map to jdbc null type.
-
-
-
Element Detail
-
value
JdbcType[] value
Returns jdbc types to mapTypeHandler
.- Returns:
- jdbc types
-
-