• Post Reply Bookmark Topic Watch Topic
  • New Topic

what is transaction roll back exception?

 
lili shen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when i store my data into jdbc (cloudscape)db,i met transaction roll back exception.
i am not sure how it comes.i did succeed in inserting (insertRow()method)my data into database,but when i call ejbStore() method, the exception comes.
really appreciated if you could reply.
B.rgds
lili
 
James Carman
Ranch Hand
Posts: 580
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are not supposed to call the ejbStore() method. This method is called by the EJB container.
 
lili shen
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you very much. yes,it's called by the EJBContainer.
when i tried to run my old program last night, it works !!! I think all this is due to the poor update speed of the deploytool. I corrected all my files one day ago, recompiled, and even redeployed my applicaion after undeployed it. But the same errors occured no matter how i tested my code.(sometimes i have to wait for a while, or restart j2ee server, then the deploytool could update class files.)
But last night, when i tried my code, it even works!!!
If nobody meet the same problem,i guess it's time to throw my crap pc away... :roll:
Many thanks
B.rgds
lili
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!