I progress in my understanding of the issue. In fact, the commit does not occur if the annotation @Transactional is defined in the Service bundle instead of the DAO bundle. I think that there is an issue when the service layer access the JPATransactionManager of Spring through OSGI service and commit does not occur.
Kind regards, Charles Moulliard Senior Enterprise Architect (J2EE, .NET, SOA) Apache Camel/ServiceMix Committer ******************************************************************* - Blog : http://cmoulliard.blogspot.com - Twitter : http://twitter.com/cmoulliard - Linkedlin : http://www.linkedin.com/in/charlesmoulliard On Tue, May 11, 2010 at 10:39 AM, iocanel <[email protected]> wrote: > > > cmoulliard wrote: >> >> The transaction is initiated but not committed >> > > Then it wouldn't hurt to try the my solution :-) > > > > ----- > Ioannis Canellos > -- > View this message in context: > http://old.nabble.com/Data-not-inserted-into-DB-%28Camel-Bean---EclipseLink---Spring-DM---SMX--4.2%29-%21%21-tp28475358p28521451.html > Sent from the ServiceMix - User mailing list archive at Nabble.com. > >
