From fec4f593ccac17493f0014bd8fabdedc278135c8 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 22 Jul 2008 09:19:51 +0000 Subject: Added advanced conversion capability when setting query filter properties. This is used to ensure that BigDecimal values are properly normalized. --- src/main/java/com/amazon/carbonado/repo/map/MapStorage.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java/com/amazon/carbonado/repo') diff --git a/src/main/java/com/amazon/carbonado/repo/map/MapStorage.java b/src/main/java/com/amazon/carbonado/repo/map/MapStorage.java index 7c2fa0a..27934ef 100644 --- a/src/main/java/com/amazon/carbonado/repo/map/MapStorage.java +++ b/src/main/java/com/amazon/carbonado/repo/map/MapStorage.java @@ -132,10 +132,12 @@ class MapStorage EnumSet features; if (repo.isMaster()) { features = EnumSet.of(MasterFeature.INSERT_CHECK_REQUIRED, + MasterFeature.NORMALIZE, MasterFeature.VERSIONING, MasterFeature.INSERT_SEQUENCES); } else { - features = EnumSet.of(MasterFeature.INSERT_CHECK_REQUIRED); + features = EnumSet.of(MasterFeature.INSERT_CHECK_REQUIRED, + MasterFeature.NORMALIZE); } Class delegateStorableClass = -- cgit v1.2.3