diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2007-02-02 19:46:26 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2007-02-02 19:46:26 +0000 |
commit | a128380ad3a2c722506675ec2d119877e5d0ebcb (patch) | |
tree | 3c52c9115c19dafede537f4cff431de3e40b633a /src | |
parent | b1f921579e5276c89ff8d800a9487396f7808df9 (diff) |
Don't attempt to clear join properties when converting from old generation.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java b/src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java index fd39a23..741a50d 100644 --- a/src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java +++ b/src/main/java/com/amazon/carbonado/raw/GenericStorableCodec.java @@ -775,6 +775,10 @@ public class GenericStorableCodec<S extends Storable> implements StorableCodec<S StorableIntrospector.examine(altStorable).getAllProperties();
for (StorableProperty prop : currentProps.values()) {
+ if (prop.isJoin()) {
+ continue;
+ }
+
if (altProps.keySet().contains(prop.getName())) {
continue;
}
|