Annotation Type 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
      JdbcType[] value
      Returns jdbc types to map TypeHandler.
    • Optional Element Summary

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

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