Java Mailing List Archive

http://www.gg3721.com/

Home » Hibernate Commits List »

[hibernate-commits] Hibernate SVN: r14902 -
 core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/proxy.

hibernate-commits

2008-07-09


Author LoginPost Reply
Author: steve.ebersole@(protected)
Date: 2008-07-09 01:14:03 -0400 (Wed, 09 Jul 2008)
New Revision: 14902

Modified:
 core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/proxy/AbstractLazyInitializer.java
Log:
JBPAPP-908,HHH-3309 : AbstractLazyInitializer + serialization

Modified: core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/proxy/AbstractLazyInitializer.java
===================================================================
--- core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/proxy/AbstractLazyInitializer.java  2008-07-09 03:38:55 UTC (rev 14901)
+++ core/branches/Branch_3_2_4_SP1_CP/src/org/hibernate/proxy/AbstractLazyInitializer.java  2008-07-09 05:14:03 UTC (rev 14902)
@@(protected) @@

import org.hibernate.HibernateException;
import org.hibernate.LazyInitializationException;
-import org.hibernate.ObjectNotFoundException;
import org.hibernate.engine.EntityKey;
import org.hibernate.engine.SessionImplementor;

@@(protected) @@
 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;
   this.session = session;

_______________________________________________
hibernate-commits mailing list
hibernate-commits@(protected)
https://lists.jboss.org/mailman/listinfo/hibernate-commits
©2008 gg3721.com - Jax Systems, LLC, U.S.A.