what does this error means ?

java.sql.SQLException: The transaction is no longer active - status: 'Committed'. No further JDBC access is allowed within this transaction.

what does this error means ?

when this error occurs .

i am not getting clue where to struck .

any idea where to look for ?

Message was edited by:

Unknown_Citizen

[348 byte] By [Unknown_Citizena] at [2007-11-27 9:07:29]
# 1
Print out the entire stack trace, it will tell you where in your code you have the error. right down to the class name and line number. ~Tim
SomeoneElsea at 2007-7-12 21:44:17 > top of Java-index,Java Essentials,Java Programming...
# 2
Here is the code which stack trace tells..session.saveOrUpdate(Bean);session = Hibernate sessionBean = a java beanDo you see any reason when that kind of error comes up ?
Unknown_Citizena at 2007-7-12 21:44:17 > top of Java-index,Java Essentials,Java Programming...
# 3
Better to ask on a hibernate forum, but you seem to be trying to reuse a closed transaction. If you have auto-commit set to ttrue, try changing it to false, the explicitly calling commit when you are done.
SomeoneElsea at 2007-7-12 21:44:17 > top of Java-index,Java Essentials,Java Programming...
# 4

> Better to ask on a hibernate forum, but you seem to

> be trying to reuse a closed transaction. If you have

> auto-commit set to ttrue, try changing it to false,

> the explicitly calling commit when you are done.

Might be worth finding out why something is trying to use a closed transaction first, before changing your entire transaction management idiom, though

georgemca at 2007-7-12 21:44:17 > top of Java-index,Java Essentials,Java Programming...
# 5
Well,yeah, that would be the obvious first step: Diagnose the problem before you end up solving the wrong one. :)~Tim
SomeoneElsea at 2007-7-12 21:44:17 > top of Java-index,Java Essentials,Java Programming...
# 6
The error itself is saying that transaction status is now committed. So it's no more active now. Hence you can't use that transaction any more.You need to start a new transaction now.
KeDeSola at 2007-7-12 21:44:17 > top of Java-index,Java Essentials,Java Programming...