Package org.hibernate.annotations

Annotation Type CollectionId

    • Element Detail

      • column

        Column column
        The column containing the collection id.
        Default:
        @jakarta.persistence.Column
      • generatorImplementation

        Class<? extendsIdentifierGenerator> generatorImplementation
        Implementation for generating values.
        API Note:
        Mutually exclusive withgenerator()
        Default:
        org.hibernate.id.IdentifierGenerator.class
      • generator

        String generator
        The generator name.

        Can specify either a built-in strategy ("sequence", for example) or a named JPA id generator.

        API Note:
        Mutually exclusive withgeneratorImplementation()
        Default:
        ""