摘要: 在Hibernate中,有两种方式可以捕获实体对象的GRUD操作并执行相应的处理Hibernate回调(org.hibernate.classic.Lifecycle接口)://Provides callbacks from the Session to the persistent object.//Persistent classes may implement this interface but they are not//required to.//If a CallbackException is thrown, the operation is vetoed and the//e 阅读全文
posted @ 2014-05-04 22:15 心意合一 阅读(372) 评论(0) 推荐(0) 编辑