Package org.hibernate.testing.orm.junit
Class ImplicitListAsBagProvider
java.lang.Object
org.hibernate.testing.orm.junit.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.metamodel.CollectionClassificationGet the setting value
-
Constructor Details
-
ImplicitListAsBagProvider
public ImplicitListAsBagProvider()
-
-
Method Details
-
getSetting
public org.hibernate.metamodel.CollectionClassification getSetting()Description copied from interface:SettingProvider.ProviderGet the setting value- Specified by:
getSettingin interfaceSettingProvider.Provider<org.hibernate.metamodel.CollectionClassification>
-