Annotation Type TargetIdProperty

  • @Retention(CLASS)
    public @interface TargetIdProperty
    Defines the property serving as the target ID of a ToOne. This allows exposing an explicit property, which may be convenient for other parsers/serializers (e.g. JSON).
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Name used in the database.
    • Element Detail

      • value

        java.lang.String value
        Name used in the database.