Author: adamw
Date: 2008-11-25 10:25:46 -0500 (Tue, 25 Nov 2008)
New Revision: 15615
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/CollectionProxy.java
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/ListProxy.java
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SetProxy.java
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedSetProxy.java
Log:
HHH-3623: collectin proxies are serializable
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/CollectionProxy.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/CollectionProxy.java 2008-11-25
15:23:40 UTC (rev 15614)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/CollectionProxy.java 2008-11-25
15:25:46 UTC (rev 15615)
@@ -35,6 +35,9 @@
private
org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor<T>
initializor;
protected T delegate;
+ protected CollectionProxy() {
+ }
+
public CollectionProxy(Initializor<T> initializor) {
this.initializor = initializor;
}
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/ListProxy.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/ListProxy.java 2008-11-25
15:23:40 UTC (rev 15614)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/ListProxy.java 2008-11-25
15:25:46 UTC (rev 15615)
@@ -23,6 +23,8 @@
*/
package org.hibernate.envers.entities.mapper.relation.lazy.proxy;
+import org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor;
+
import java.util.Collection;
import java.util.List;
import java.util.ListIterator;
@@ -34,6 +36,9 @@
public class ListProxy<U> extends CollectionProxy<U, List<U>>
implements List<U>, Serializable {
private static final long serialVersionUID = -5479232938279790987L;
+ public ListProxy() {
+ }
+
public
ListProxy(org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor<List<U>>
initializor) {
super(initializor);
}
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java 2008-11-25
15:23:40 UTC (rev 15614)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/MapProxy.java 2008-11-25
15:25:46 UTC (rev 15615)
@@ -39,6 +39,9 @@
private Initializor<Map<K, V>> initializor;
protected Map<K, V> delegate;
+ public MapProxy() {
+ }
+
public
MapProxy(org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor<Map<K,
V>> initializor) {
this.initializor = initializor;
}
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SetProxy.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SetProxy.java 2008-11-25
15:23:40 UTC (rev 15614)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SetProxy.java 2008-11-25
15:25:46 UTC (rev 15615)
@@ -32,6 +32,9 @@
public class SetProxy<U> extends CollectionProxy<U, Set<U>> implements
Set<U>, Serializable {
private static final long serialVersionUID = 131464133074137701L;
+ public SetProxy() {
+ }
+
public
SetProxy(org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor<Set<U>>
initializor) {
super(initializor);
}
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java 2008-11-25
15:23:40 UTC (rev 15614)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedMapProxy.java 2008-11-25
15:25:46 UTC (rev 15615)
@@ -41,6 +41,9 @@
private Initializor<SortedMap<K, V>> initializor;
protected SortedMap<K, V> delegate;
+ public SortedMapProxy() {
+ }
+
public
SortedMapProxy(org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor<SortedMap<K,
V>> initializor) {
this.initializor = initializor;
}
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedSetProxy.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedSetProxy.java 2008-11-25
15:23:40 UTC (rev 15614)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/entities/mapper/relation/lazy/proxy/SortedSetProxy.java 2008-11-25
15:25:46 UTC (rev 15615)
@@ -33,6 +33,9 @@
public class SortedSetProxy<U> extends CollectionProxy<U, SortedSet<U>>
implements SortedSet<U>, Serializable {
private static final long serialVersionUID = 2092884107178125905L;
+ public SortedSetProxy() {
+ }
+
public
SortedSetProxy(org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializor<SortedSet<U>>
initializor) {
super(initializor);
}
Show replies by date