Package org.hibernate.testing.orm.junit
Class ImplicitListAsBagProvider
- java.lang.Object
-
- org.hibernate.testing.orm.junit.ImplicitListAsBagProvider
-
- All Implemented Interfaces:
SettingProvider.Provider<CollectionClassification>
public class ImplicitListAsBagProvider extends Object implements SettingProvider.Provider<CollectionClassification>
Used as a SettingProvider to enable backwards compatibility regarding pluralList
mappings when noOrderColumn
,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 impliedOrderColumn
). This setting provider is used to enable the legacy classification
-
-
Constructor Summary
Constructors Constructor Description ImplicitListAsBagProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionClassification
getSetting()
Get the setting value
-
-
-
Method Detail
-
getSetting
public CollectionClassification getSetting()
Description copied from interface:SettingProvider.Provider
Get the setting value- Specified by:
getSetting
in interfaceSettingProvider.Provider<CollectionClassification>
-
-