Annotation Type Property


  • @Retention(SOURCE)
    @Target(FIELD)
    public @interface Property
    Optional: configures the mapped column for a persistent field. This annotation is also applicable with @ToOne without additional foreign key property
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String nameInDb
      Name of the database column for this property.
    • Element Detail

      • nameInDb

        java.lang.String nameInDb
        Name of the database column for this property. Default is field name.
        Default:
        ""