public class CacheMappingOption extends UniqueOption<CacheMappingType>
| Constructor and Description |
|---|
CacheMappingOption() |
| Modifier and Type | Method and Description |
|---|---|
CacheMappingType |
getDefaultValue(ConfigurationPropertyReader propertyReader)
May be overridden by specific option types to retrieve a default value based on the configuration properties used
to bootstrap Hibernate OGM.
|
getOptionIdentifierpublic CacheMappingType getDefaultValue(ConfigurationPropertyReader propertyReader)
OptiongetDefaultValue in class Option<Object,CacheMappingType>propertyReader - Provides access to the configuration properties used to bootstrap Hibernate OGM, e.g. given
in persistence.xml or set via StandardServiceRegistryBuilder.applySetting(String, Object).null if no default exists.Copyright © 2010-2024 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.