Class ImplicitListAsBagProvider

  • All Implemented Interfaces:
    SettingProvider.Provider<org.hibernate.metamodel.CollectionClassification>

    public class ImplicitListAsBagProvider
    extends Object
    implements SettingProvider.Provider<org.hibernate.metamodel.CollectionClassification>
    Used as a SettingProvider to enable backwards compatibility regarding plural List mappings when no OrderColumn, ListIndexBase, CollectionId or other annotations hinting at the classification to use. Historically, Hibernate classified these as BAG. 6.0 changes that to LIST (with an implied OrderColumn). This setting provider is used to enable the legacy classification
    • Constructor Detail

      • ImplicitListAsBagProvider

        public ImplicitListAsBagProvider()
    • Method Detail

      • getSetting

        public org.hibernate.metamodel.CollectionClassification getSetting()
        Specified by:
        getSetting in interface SettingProvider.Provider<org.hibernate.metamodel.CollectionClassification>