aspose file tools*
The moose likes Other Application Frameworks and the fly likes transaction in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "transaction in spring" Watch "transaction in spring" New topic
Author

transaction in spring

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 250
hi

i use spring 2.5.2, i enable (i hope) transaction in spring xml config file...
but i don't how to be sure if that work fine... i don't have any error message



there is an insertion of a group in the database, that work fine

i use jdbc

how to be sure the transaction worked correctely?

i don't have any message than i transaction started and i don't have error message

addGroup is a methot in GroupFacade interface




NestedCheckedException come from spring
GroupException extends NestedCheckedException implements ErrorCoded

i call this method from a web application (who use spring framework)

how to do automatically a rollback if a problem happen

how to test the come back worked correctely?


thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: transaction in spring