From de0545a989064258f26cdc34dc387872ea42c20b Mon Sep 17 00:00:00 2001 From: Adam Warski Date: Mon, 25 Jan 2010 07:56:21 +0000 Subject: [PATCH] HHH-4693: - applying patch, making map proxies serializable git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18616 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../envers/entities/mapper/relation/lazy/proxy/MapProxy.java | 2 +- .../entities/mapper/relation/lazy/proxy/SortedMapProxy.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 92d90dab06..79913df32d 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 @@ -36,7 +36,7 @@ import org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializo public class MapProxy implements Map, Serializable { private static final long serialVersionUID = 8418037541773074646L; - private Initializor> initializor; + private transient Initializor> initializor; protected Map delegate; public MapProxy() { 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 6a794589b1..53b506f18d 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 @@ -38,7 +38,7 @@ import org.hibernate.envers.entities.mapper.relation.lazy.initializor.Initializo public class SortedMapProxy implements SortedMap, Serializable { private static final long serialVersionUID = 2645817952901452375L; - private Initializor> initializor; + private transient Initializor> initializor; protected SortedMap delegate; public SortedMapProxy() { @@ -154,4 +154,4 @@ public class SortedMapProxy implements SortedMap, Serializable { checkInit(); return delegate.hashCode(); } -} \ No newline at end of file +}