Package org.apache.ibatis.type
Annotation Type MappedTypes
-
@Documented @Retention(RUNTIME) @Target(TYPE) public @interface MappedTypes
The annotation that specify java types to mapTypeHandler
.How to use:
@MappedTypes(String.class) public class StringTrimmingTypeHandler implements TypeHandler<String> { // ... }
- Author:
- Eduardo Macarron
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description Class<?>[]
value
Returns java types to mapTypeHandler
.
-
-
-
Element Detail
-
value
Class<?>[] value
Returns java types to mapTypeHandler
.- Returns:
- java types
-
-