更新操作怎么实现 我用的update(employee) 出现错误org.springframework.orm.hibernate3.HibernateOptimisticLockingFailureException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1
org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:657)用saveOrUpdate又添加了新的数据
请大侠帮帮忙吧
org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:657)用saveOrUpdate又添加了新的数据
请大侠帮帮忙吧
解决方案 »
- java.sql.SQLException: Io 异常: The Network Adapter could not establish the conn e
- JAVA读取vista系统下的硬盘id
- 关于 wsdd文件
- 系统问题
- 在线编辑器ewebeditor里面如何实现输入的数字求和
- 有没有按时间段分割mp3的程序?
- Action---110------110----110--------
- 用tomcat做web服务器,tomcat有记录访问IP和时间的功能吗?如果有,如何配置实现?谢谢!
- 关于JavaMail的问题
- eclipse2.13+lomboz+tomcat5.0.27+easy struts不能debug jsp
- 关于hibernate的批量处理问题,是不是一定攒够了bath_size个sql语句才提交?
- hibernate的Hql问题
基本是配置问题。