Jasper error: Caused by SQLServerException: Transaction (Process ID 58) was deadlocked on thread | c
Posted
by Saky
on Stack Overflow
See other posts from Stack Overflow
or by Saky
Published on 2010-05-05T08:55:18Z
Indexed on
2010/05/05
8:58 UTC
Read the original article
Hit count: 321
I got the above error in my jasper report mail. The query that is used in the report is quite complicated (for me). Reading different posts I conclude that to solve this the I have to change the query to
SET TRANSACTION ISOLATION LEVEL REPEATABLE READ GO BEGIN TRANSACTION ... my query ... COMMIT TRANSACTION
? I wonder if this is the correct way to solve the error and that if it has any side effects? Has it happened to anyone in the Jasper reports? Does anyone know if there is a better solution exist to the problem?
(Although that I have not yet tested the above solution, if anyone can give any insight on this will be helpful.)
© Stack Overflow or respective owner