diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2008-07-22 09:19:51 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2008-07-22 09:19:51 +0000 |
commit | fec4f593ccac17493f0014bd8fabdedc278135c8 (patch) | |
tree | c435dcbe45e420f3bf2b91dc70e0e296fdc7687b /src/main/java/com/amazon/carbonado/repo | |
parent | 005101b7b1e7579b899c8a379f4516309e164c09 (diff) |
Added advanced conversion capability when setting query filter properties. This is used to ensure that BigDecimal values are properly normalized.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/map/MapStorage.java | 4 |
1 files changed, 3 insertions, 1 deletions
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<S extends Storable> EnumSet<MasterFeature> 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<? extends S> delegateStorableClass =
|