Annotation Interface ResultPath


@Target(FIELD) @Retention(RUNTIME) public @interface ResultPath
Used to annotate a field of a custom query builder result bean. The value is the path that should be mapped to the annotated field (must be a valid path). The type of the field must match the type of the path. For to many paths a List or a Set with a generic type should be used. This annotation is only necessary when the name of the field does not match the name of the entity field.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details