File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

transaction in spring

mark smith
Ranch Hand

Joined: Apr 05, 2005
Posts: 251

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?

I agree. Here's the link:
subject: transaction in spring
It's not a secret anymore!