Hibernate的数据提交顺序
1.插入
2.更新
3.集合删除
4.集合更新
5.集合创建
6.删除
/** * Perform all currently queued actions. * * @throws HibernateException error executing queued actions. */public void executeActions() throws HibernateException {executeActions( insertions );executeActions( updates );executeActions( collectionRemovals );executeActions( collectionUpdates );executeActions( collectionCreations );executeActions( deletions );}