If your data source supports transactions, you should include each add operation in a transaction and roll back the transaction and throw an exception if any add operation fails.

 
  • 如果数据源支持事务,则应在事务中包含每个添加操作,并且如果添加操作失败,则应回滚事务并引发异常。
今日热词
目录 附录 查词历史