Hi,

Nearly everything is in the title :
My Jackrabbit repository holds everything it can (PM, DS) in the same database I use for persisting JPA entities.
I use Spring with OpenJPA so I have a JpaTransactionManager.
I know I can use plain JDBC within the same transaction opened by this TransactionManager but I was asking myself about Jackrabbit. Is there any gotcha in doing this kind of code :

@Transactional
public void doMyStuff() {
  doJpaStuff();
  doJcrStuff();
}

Does it require any specific parameters/configuration or should it run as-is ?

Thanks.

Regards.
--
Bruno Dusausoy
YP5 Software
--
Pensez environnement : limitez l'impression de ce mail.
Please don't print this e-mail unless you really need to.

Reply via email to