That is what I always thought and assumed.... So why is my Directory changes not being rolled back....?
I only have a simple plugin on a standard nuxeo tomcat and AFAIK, I haven't done anything that should upset transaction management.
Any ideas before I delve deeper? Thanks, Sean On 24/08/11 14:30, [email protected] wrote:
directorySession.commit() actually does nothing if you're in a managed situation, which is the case when you configured your directory through a datasource. "Managed" means that there's a container that deals with transaction begin/commit for you. Nuxeo does the transaction management at the HTTP filter level, so it's always done for every request (unless otherwise configured by http://explorer.nuxeo.org/nuxeo/site/distribution/Nuxeo%20DM-5.4.2/viewComponent/org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService) --- Mailing list: [email protected] Forum: http://forum.nuxeo.org/f/1/
-- Dr. Sean Radford, MBBS, MSc http://www.tacola.com/ http://www.tacolaecm.com/ t: +44 (0)845 KEY HELP t: +44 (0)845 539 4357 m: +44 (0)7802 24 24 86 --- Mailing list: [email protected] Forum: http://forum.nuxeo.org/f/1/
