From a7c7ba3fc70085375943f9a5d6194d9a5a158cf9 Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Wed, 9 Jul 2008 03:38:55 +0000 Subject: [PATCH] HHH-3309 : AbstractLazyInitializer + serialization git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14901 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../java/org/hibernate/proxy/AbstractLazyInitializer.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java b/core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java index 6028743dc7..ce6ec8c413 100755 --- a/core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java +++ b/core/src/main/java/org/hibernate/proxy/AbstractLazyInitializer.java @@ -24,6 +24,12 @@ public abstract class AbstractLazyInitializer implements LazyInitializer { private Serializable id; private transient SessionImplementor session; private boolean unwrap; + + /** + * For serialization from the non-pojo initializers (HHH-3309) + */ + protected AbstractLazyInitializer() { + } protected AbstractLazyInitializer(String entityName, Serializable id, SessionImplementor session) { this.id = id;