hibernate
文章平均质量分 52
gourideqq
这个作者很懒,什么都没留下…
展开
-
Hibernate工作原理及为什么要用?
* 原理: 1. 读取并解析配置文件 2. 读取并解析映射信息,创建SessionFactory 3. 打开Sesssion 4. 创建事务Transation 5. 持久化操作 6. 提交事务 7. 关闭Session 8. 关闭SesstionFactory * 为什么要用: 1. JDBC访问数据库的代码做了封装,大大简化了数据访问...原创 2009-06-08 12:41:23 · 107 阅读 · 0 评论 -
错误Batch update returned unexpected row count from
关于Hibernate的 Batch update returned unexpected row count from update异常 ERROR [http-8080-Processor22] (BatchingBatcher.java:60) - Exception executing batch: org.hibernate.StaleStateException: Batch ...原创 2009-06-10 11:35:43 · 254 阅读 · 0 评论