org.starobjects.jpa.runtime.persistence.objectstore
Class PostLoadEventAndEntity

java.lang.Object
  extended by org.starobjects.jpa.runtime.persistence.objectstore.PostLoadEventAndEntity

public class PostLoadEventAndEntity
extends Object

It seems that for an eager fetch performed using a left outer join, that the same PostLoadEvent is called for both the referencing and also the referenced object, but that the entity is updated in the two calls to PostLoadEventListener.onPostLoad(PostLoadEvent).


Constructor Summary
PostLoadEventAndEntity(org.hibernate.event.PostLoadEvent loadPostEvent)
           
 
Method Summary
 Object getEntity()
           
 org.hibernate.event.PostLoadEvent getLoadPostEvent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostLoadEventAndEntity

public PostLoadEventAndEntity(org.hibernate.event.PostLoadEvent loadPostEvent)
Method Detail

getLoadPostEvent

public org.hibernate.event.PostLoadEvent getLoadPostEvent()

getEntity

public Object getEntity()


Copyright © 2009-2010 Dan Haywood. All Rights Reserved.