|
From: wciesiel (A. F. <fo...@an...> - 2005-07-15 12:12:50
|
Hi there,
I've got SLSB session facade using Spring/Hibernate POJOs as persistance layer. On the service methods I can set EJB transaction type. Is this propagated somehow onto operations further into service?
ie: I have MyService.doSomeOps() method calling:
{ getFirstDao.doSomething();
getSecondDao.doSomething();
getThirdDao.doSomething();
}
If I set ejb trasaction as REQUIRED for doSomeOps() - will this work as it should ie. rollbacking transaction on error in any of those 3 inner operations? Can I set Spring/Hibnernate DataAccessException annotational handlers (rollbackFor etc) within doSomeOps() ?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2661#2661
Posting to http://forum.andromda.org/ is preferred over posting to the mailing list!
|