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?
yes, but only if your services are wrapped by EJB services and you have deployed in an EJB container (otherwise user the Spring transaction type tagged value) 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? yes, as long as those operations do not call another Hibernate session that is managed outside of the spring application context (default generated AndroMDA projects do not have this) Can I set Spring/Hibnernate DataAccessException annotational handlers (rollbackFor etc) within doSomeOps() ? no, the cartridge currently does not support this -- Wouter Zoons - [EMAIL PROTECTED] http://www.andromda.org/ _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2664#2664 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user