• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

transaction in spring

 
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic