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 With Quote

