Annotation Interface ShortAlias


@Target({FIELD,TYPE}) @Retention(RUNTIME) public @interface ShortAlias
A shortened version of the JPA element identifier that should be used instead at runtime. This is a special case for older Oracle platforms that have restrictions on element identifier character length. At runtime, JPA LTW will be used to transform the entity class to accommodate the shortened name. Note, this annotation only has meaning (and is only active) when the broadleaf.jpa.oracle.short.identifier.active property is set to true in the spring environment. Note, Broadleaf support for Oracle DB starts at Oracle version 12cR1.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The shortened name to use at runtime for the JPA element
  • Element Details

    • value

      String value
      The shortened name to use at runtime for the JPA element
      Returns:
      The shortened name to use at runtime for the JPA element