Annotation Interface MappedJdbcTypes


@Documented @Retention(RUNTIME) @Target(TYPE) public @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

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns jdbc types to map TypeHandler.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Returns whether map to jdbc null type.
  • Element Details

    • includeNullJdbcType

      boolean includeNullJdbcType
      Returns whether map to jdbc null type.
      Returns:
      true if map, false if otherwise
      Default:
      false