@Documented @Retention(value=RUNTIME) @Target(value=TYPE) public @interface MappedTypes
TypeHandler.
How to use:
@MappedTypes(String.class)
public class StringTrimmingTypeHandler implements TypeHandler<String> {
// ...
}
| Modifier and Type | Required Element and Description |
|---|---|
Class<?>[] |
value
Returns java types to map
TypeHandler. |
public abstract Class<?>[] value
TypeHandler.Copyright © 2009–2021 MyBatis.org. All rights reserved.