FileDocCategorySizeDatePackage
DefaultPreLoadEventListener.javaAPI DocHibernate 3.2.5761Mon Aug 08 18:24:44 BST 2005org.hibernate.event.def

DefaultPreLoadEventListener

public class DefaultPreLoadEventListener extends Object implements org.hibernate.event.PreLoadEventListener
Called before injecting property values into a newly loaded entity instance.
author
Gavin King

Fields Summary
Constructors Summary
Methods Summary
public voidonPreLoad(org.hibernate.event.PreLoadEvent event)

		EntityPersister persister = event.getPersister();
		event.getSession()
			.getInterceptor()
			.onLoad( 
					event.getEntity(), 
					event.getId(), 
					event.getState(), 
					persister.getPropertyNames(), 
					persister.getPropertyTypes() 
				);