spring 事务配置以及事务内自我调用失效问题汇总

来源:互联网 发布:优化发展环境 编辑:程序博客网 时间:2024/06/08 19:51
  • spring 事务配置

http://www.cnblogs.com/younggun/archive/2013/07/16/3193800.html

  • spring 自我调用失效解决方案

http://blog.csdn.net/wxwzy738/article/details/27566645

  • sybase存储过程在事务内执行报
com.sybase.jdbc2.jdbc.SybSQLException: Stored procedurexxxxxxmay be run only in unchained transaction mode. TheSET CHAINED OFFcommand will cause the current session to use unchained transaction mode.

解决办法:在数据库中,记得必须在数据库而不是程序中执行

EXEC sp_procxmode pro_name ,’anymode’