Package org.hibernate.event.spi
Class PersistEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.PersistEvent
-
- All Implemented Interfaces:
Serializable
public class PersistEvent extends AbstractEvent
An event class for persist()- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PersistEvent(Object object, EventSource source)
PersistEvent(String entityName, Object original, EventSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getEntityName()
Object
getObject()
void
setEntityName(String entityName)
void
setObject(Object object)
-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getFactory, getSession
-
-
-
-
Constructor Detail
-
PersistEvent
public PersistEvent(String entityName, Object original, EventSource source)
-
PersistEvent
public PersistEvent(Object object, EventSource source)
-
-