HHH-3309 : AbstractLazyInitializer + serialization

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14901 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2008-07-09 03:38:55 +00:00
parent 7eb91afb14
commit a7c7ba3fc7
1 changed files with 6 additions and 0 deletions

View File

@ -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;