当前位置: 首页 > 工具软件 > unchained > 使用案例 >

Sybase sp only run in unchained transaction mode

胡国兴
2023-12-01

在Webshere下连接Sybase DB,调用SP,报错如下:

com.sybase.jdbc4.jdbc.SybSQLException: Stored procedure 'db_xxx..po_get_xxx' may be run only in unchained transaction mode. The 'SET CHAINED OFF' command will cause the current session to use unchained transaction mode.

发现即使设置Connection.SetAutoCommit(true)也没有任何效果,照样报错,估计是Websphere强制设置为false了。


Sybase的SP的默认模式就是unchained transaction mode(AutoCommit:true),也真够奇葩的。

 类似资料:

相关阅读

相关文章

相关问答