Hi !

I have a EJB3 application with JPA (Hibernate) on JBoss that stores some
information to a jackrabbit repository, when an exceptions occurs in the JPA
layer of the application, all changes in the database are rolled back but
changes in the JCR repository are not getting rolled back. I've tried
enlisting the jackrabbit session object with the TransactionManager but the
problem with this approach is that I can't close the session because JBoss
commits the transaction when the EJB call returns so the session is never
closed, only when the object is finalized. What should I do ? Thanks in
advance.

Juan Botiva

Reply via email to