Annotation Type IdMapping


@Target({METHOD,PARAMETER,FIELD})
@Retention(RUNTIME)
public @interface IdMapping
Maps the annotated element to the id attribute of the entity.
Since:
1.0.0
Author:
Christian Beikov
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    String value
    The JPQL expression mapping to the entity id the annotated getter or parameter should map to.
  • Element Details

    • value

      String value
      The JPQL expression mapping to the entity id the annotated getter or parameter should map to.
      Returns:
      The JPQL expression mapping to the entity id
      Default:
      ""