Package org.hibernate.event.spi
Class PostInsertEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.PostInsertEvent
-
- All Implemented Interfaces:
Serializable
public class PostInsertEvent extends AbstractEvent
Occurs after inserting an item in the datastore- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PostInsertEvent(Object entity, Object id, Object[] state, EntityPersister persister, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getEntity()
SessionFactoryImplementor
getFactory()
Object
getId()
EntityPersister
getPersister()
Object[]
getState()
-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getSession
-
-
-
-
Constructor Detail
-
PostInsertEvent
public PostInsertEvent(Object entity, Object id, Object[] state, EntityPersister persister, EventSource source)
-
-
Method Detail
-
getEntity
public Object getEntity()
-
getId
public Object getId()
-
getPersister
public EntityPersister getPersister()
-
getFactory
public SessionFactoryImplementor getFactory()
- Overrides:
getFactory
in classAbstractEvent
-
getState
public Object[] getState()
-
-