Package io.jmix.data
Class DataProperties
java.lang.Object
io.jmix.data.DataProperties
@ConfigurationProperties(prefix="jmix.data")
@ConstructorBinding
public class DataProperties
extends Object
-
Constructor Summary
ConstructorDescriptionDataProperties
(boolean useReadOnlyTransactionForLoad, int numberIdCacheSize, boolean useEntityDataStoreForIdSequence, String uniqueConstraintViolationPattern, boolean useUserLocaleForRelativeDateTimeMoments) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
-
Constructor Details
-
DataProperties
public DataProperties(@DefaultValue("true") boolean useReadOnlyTransactionForLoad, @DefaultValue("100") int numberIdCacheSize, boolean useEntityDataStoreForIdSequence, @Nullable String uniqueConstraintViolationPattern, @DefaultValue("true") boolean useUserLocaleForRelativeDateTimeMoments)
-
-
Method Details
-
isUseReadOnlyTransactionForLoad
public boolean isUseReadOnlyTransactionForLoad() -
getNumberIdCacheSize
public int getNumberIdCacheSize() -
isUseEntityDataStoreForIdSequence
public boolean isUseEntityDataStoreForIdSequence() -
getUniqueConstraintViolationPattern
- See Also:
-
uniqueConstraintViolationPattern
-
isUseUserLocaleForRelativeDateTimeMoments
public boolean isUseUserLocaleForRelativeDateTimeMoments()
-