Class IdentifierRelation

  • All Implemented Interfaces:
    AttributeContainer

    public class IdentifierRelation
    extends Object
    implements AttributeContainer
    A contract for identifier relations between persisted entities All attributes stored here are stored in their non-key form, see IdMetadataGenerator. Whenever this container is consulted and attributes are requested to be prefixed, a distinction at the call site determines whether attributes here are to be promoted or not.
    • Constructor Detail

      • IdentifierRelation

        public IdentifierRelation()
    • Method Detail

      • getAttributesPrefixed

        public List<Attribute> getAttributesPrefixed​(String prefix,
                                                     Iterator<org.hibernate.mapping.Selectable> iterator,
                                                     boolean makeKey,
                                                     boolean insertable)
      • getAttributesPrefixed

        public List<Attribute> getAttributesPrefixed​(String prefix,
                                                     org.hibernate.envers.configuration.internal.metadata.ColumnNameIterator columnNameIterator,
                                                     boolean makeKey,
                                                     boolean insertable)