In most cases, that's OK. But we meet problem when our <permission-service>
need to access new record created in main transaction. It cause "dead
locking" in Derby database.

I find the following code piece:
resp = dispatcher.runSync(permission.name,  ctx, 300, true); //
org.ofbiz.service.ModelService: line 983

and, I'm not understand the reason behind the "true" here. Any harmful or
side-effect to change it to "false"? 






--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Is-there-particular-consideration-to-open-a-new-transaction-to-invoke-permission-service-tp4644281.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to