摘要: 今天做个项目是批量上传功能,上传文件的名称需要有顺序的排列下去,想做个事务避免序号出错。于是我按照平时的习惯写好方法进行测试,tomcat报错:net.sf.hibernate.TransactionException: Commit failed with SQL exception: : Can't call commit when autocommit=truenet.sf.hibernate.TransactionException: Rollback failed with SQL exception: : Can't call rollback when autoc 阅读全文
posted @ 2011-04-25 14:28 飝兒 阅读(302) 评论(0) 推荐(0) 编辑