setAutoCommit出错!急!!

flyinrain 2003-03-31 11:39:41
这个错误是什么意思啊????,好像是在setAutoCommit()的时候出错的。
com.sybase.jdbc2.jdbc.SybSQLException: SET CHAINED command not allowed within multi-statement transaction.

at com.sybase.jdbc2.tds.Tds.processEed(Tds.java(Compiled Code))
at com.sybase.jdbc2.tds.Tds.nextResult(Tds.java(Compiled Code))
at com.sybase.jdbc2.jdbc.ResultGetter.nextResult(ResultGetter.java(Compiled Code))
at com.sybase.jdbc2.jdbc.SybStatement.nextResult(SybStatement.java(Compiled Code))
at com.sybase.jdbc2.jdbc.SybStatement.updateLoop(SybStatement.java(Compiled Code))
at com.sybase.jdbc2.jdbc.SybStatement.updateLoop(SybStatement.java(Compiled Code))
at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeUpdate(SybPreparedStatement.java(Compiled Code))
at com.sybase.jdbc2.jdbc.SybPreparedStatement.executeUpdate(SybPreparedStatement.java(Compiled Code))
at com.sybase.jdbc2.tds.Tds.setOption(Tds.java(Compiled Code))
at com.sybase.jdbc2.jdbc.SybConnection.setAutoCommit(SybConnection.java(Compiled Code))
at com.xwtec.projectmanage.ProjectInfoManageBO.update(ProjectInfoManageBO.java(Compiled Code))
at com.xwtec.projectmanage.ProjectInfoManageBO.<init>(ProjectInfoManageBO.java(Compiled Code))
at ActionManager.<init>(ActionManager.java(Compiled Code))
at IniServlet.service(IniServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java(Compiled Code))
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java(Compiled Code))
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java(Compiled Code))
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java(Compiled Code))
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java(Compiled Code))
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java(Compiled Code))
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java(Compiled Code))
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java(Compiled Code))
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)


...全文
45 点赞 收藏 3
写回复
3 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
zxhong 2003-03-31
好象是不允许处理复杂状态的事务处理
回复
geyf 2003-03-31
把这段相关的代码贴出来
回复
flyinrain 2003-03-31
帮帮忙阿!!!
回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2003-03-31 11:39
社区公告
暂无公告