Hi Tom, Blueprint declarative transactions follow the same rules as EJB transactions. A declared (checked) exception is defined as a "normal" return from the method and does not trigger a rollback. Regards
Tim Ward ------------------- Apache Aries PMC member & Enterprise OSGi advocate Enterprise OSGi in Action (http://www.manning.com/cummins) ------------------- > Subject: Will any exception happened will rollback the declarative > transaction? > From: [email protected] > Date: Tue, 30 Apr 2013 18:43:26 +0800 > To: [email protected] > > Will any exception happened will rollback the declarative transaction? > > The other container like EJB only rollback declarative transaction if > RuntimeException is encountered. > > Any suggestion is welcome > > Best Rgds, > > Tom > >
