Annotation Type ResultType


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    public @interface ResultType
    This annotation can be used when a @Select method is using a ResultHandler. Those methods must have void return type, so this annotation can be used to tell MyBatis what kind of object it should build for each row.
    Since:
    3.2.0
    Author:
    Jeff Butler
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value  
    • Element Detail

      • value

        java.lang.Class<?> value