java.sql.SQLException:The transaction is no longer active-status:'Rolled back.[Reason=Unknow]'.Check the SQL Statement (preparation failed).--- Cause:java.sql.SQLException:The transaction is no longer active - status:'Rolled back.[Reason=Unknown]'.No

来源:学生作业帮助网 编辑:作业帮 时间:2024/06/14 08:35:19
java.sql.SQLException:The transaction is no longer active-status:'Rolled back.[Reason=Unknow]'.Check the SQL Statement (preparation failed).--- Cause:java.sql.SQLException:The transaction is no longer active - status:'Rolled back.[Reason=Unknown]'.No
xSPwCg䎕Af=9hiR­Zߥ@ (B:NPc|%=/i"Sы~vC1aR ~:hJqCRgQ MPtAtHґ"YU"XC$`$ޞ!U 8b +je82@0V t'Ḡ QA\0DBBǽL\ ;9~4ЀNC>p+)ȲdD% =` ̍'(c F"w vh0iTQLhCf Ie1קA!jDRASpxB~"ĹL0N3A M{y^?sji{N/;כl$V\.{{#O񾽲&4B^҅Z{ }e4R^rLM09-vz@@#Eۣm뵳BvU"˦U% iM#:ey*s:(S'4Vk,F˾S#E2^]+:46W e֪Ť5=/3ZUZ,\9-+xtȹrn\;Hrwbؕ3cҳe嬗LP.@/Qy8.WUg*UaH9Xck5?w ㈻]c\r[蛫]a2:Kjߒq;(

java.sql.SQLException:The transaction is no longer active-status:'Rolled back.[Reason=Unknow]'.Check the SQL Statement (preparation failed).--- Cause:java.sql.SQLException:The transaction is no longer active - status:'Rolled back.[Reason=Unknown]'.No
java.sql.SQLException:The transaction is no longer active-status:'Rolled back.[Reason=Unknow]'.
Check the SQL Statement (preparation failed).
--- Cause:java.sql.SQLException:The transaction is no longer active - status:'Rolled back.[Reason=Unknown]'.No further JDBC access is allowed within this transaction.; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:
--- The error occurred in com/ytincl/etms/system/login/dao/Login-SqlMap.xml.
--- The error occurred while executing query.
请问谁知道这是什么问题,这个错误出现特别少,几天才出现一次需要重启才能正常,

java.sql.SQLException:The transaction is no longer active-status:'Rolled back.[Reason=Unknow]'.Check the SQL Statement (preparation failed).--- Cause:java.sql.SQLException:The transaction is no longer active - status:'Rolled back.[Reason=Unknown]'.No
事务已经被回滚了,所以你不能继续操作了.说明如果你的数据库操作一切正常的情况下你应该不会出现任何问题,但是,如果一旦出现问题,回滚以后,你依然在用这个transaction进行数据库的操作,这样的代码肯定是有问题的.
你去检查下吧,如果出现回滚后,应该直接报错.然后重新操作,重新begin transaction.

这个是ibatis?你把Login-SqlMap.xml.文件代码贴下,错误在里面。