异常:交易已经回滚

异常信息:java

com.kingdee.bos.BOSException: Server Component wrap a Throwable. Exception Type is [javax.ejb.TransactionRolledbackLocalException]数据库

Caused exception message is: 交易已经回滚。事务

 

表示当前事务已被回滚,io

 

案例: addnew 方法出现异常,可是没有向外抛出,而且回滚了事务,致使后续的数据库操做都提示交易已经回滚。sed

解决方案:使用addnewBatchData 替代 addnewexception

相关文章
相关标签/搜索