diff --git a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/ListProxy.java b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/ListProxy.java index 39b62da47c..31954676d7 100644 --- a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/ListProxy.java +++ b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/ListProxy.java @@ -26,11 +26,14 @@ package org.hibernate.envers.entities.mapper.relation.lazy.proxy; import java.util.Collection; import java.util.List; import java.util.ListIterator; +import java.io.Serializable; /** * @author Adam Warski (adam at warski dot org) */ -public class ListProxy extends CollectionProxy> implements List { +public class ListProxy extends CollectionProxy> implements List, Serializable { + private static final long serialVersionUID = -5479232938279790987L; + public ListProxy(org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor> initializor) { super(initializor); } diff --git a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java index 7eca6e090f..39fc532703 100644 --- a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java +++ b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java @@ -26,13 +26,16 @@ package org.hibernate.envers.entities.mapper.relation.lazy.proxy; import java.util.Collection; import java.util.Map; import java.util.Set; +import java.io.Serializable; import org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor; /** * @author Adam Warski (adam at warski dot org) */ -public class MapProxy implements Map { +public class MapProxy implements Map, Serializable { + private static final long serialVersionUID = 8418037541773074646L; + private Initializor> initializor; protected Map delegate; diff --git a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SetProxy.java b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SetProxy.java index 26850785c3..9959629e4c 100644 --- a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SetProxy.java +++ b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SetProxy.java @@ -24,11 +24,14 @@ package org.hibernate.envers.entities.mapper.relation.lazy.proxy; import java.util.Set; +import java.io.Serializable; /** * @author Adam Warski (adam at warski dot org) */ -public class SetProxy extends CollectionProxy> implements Set { +public class SetProxy extends CollectionProxy> implements Set, Serializable { + private static final long serialVersionUID = 131464133074137701L; + public SetProxy(org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor> initializor) { super(initializor); } diff --git a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java index acbf8c03b5..b6359cba23 100644 --- a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java +++ b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java @@ -28,13 +28,16 @@ import java.util.Comparator; import java.util.Map; import java.util.Set; import java.util.SortedMap; +import java.io.Serializable; import org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor; /** * @author Adam Warski (adam at warski dot org) */ -public class SortedMapProxy implements SortedMap { +public class SortedMapProxy implements SortedMap, Serializable { + private static final long serialVersionUID = 2645817952901452375L; + private Initializor> initializor; protected SortedMap delegate; diff --git a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedSetProxy.java b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedSetProxy.java index 7b7a533761..2fc92fdbe9 100644 --- a/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedSetProxy.java +++ b/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedSetProxy.java @@ -25,11 +25,14 @@ package org.hibernate.envers.entities.mapper.relation.lazy.proxy; import java.util.Comparator; import java.util.SortedSet; +import java.io.Serializable; /** * @author Adam Warski (adam at warski dot org) */ -public class SortedSetProxy extends CollectionProxy> implements SortedSet { +public class SortedSetProxy extends CollectionProxy> implements SortedSet, Serializable { + private static final long serialVersionUID = 2092884107178125905L; + public SortedSetProxy(org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor> initializor) { super(initializor); }