站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

PreInsertEvent (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.event
Class PreInsertEvent

java.lang.Object
  extended byorg.hibernate.event.PreInsertEvent

public class PreInsertEvent
extends Object

Occurs before inserting an item in the datastore

Author:
Gavin King

Constructor Summary
PreInsertEvent(Object entity, Serializable id, Object[] state, EntityPersister persister, SessionImplementor source)
           
 
Method Summary
 Object getEntity()
           
 Serializable getId()
           
 EntityPersister getPersister()
           
 SessionImplementor getSource()
           
 Object[] getState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreInsertEvent

public PreInsertEvent(Object entity,
                      Serializable id,
                      Object[] state,
                      EntityPersister persister,
                      SessionImplementor source)
Method Detail

getEntity

public Object getEntity()

getId

public Serializable getId()

getPersister

public EntityPersister getPersister()

getState

public Object[] getState()

getSource

public SessionImplementor getSource()