I think I may be running into this: https://issues.apache.org/jira/browse/OFBIZ-3557
or https://issues.apache.org/jira/browse/OFBIZ-2353 I'm a bit puzzled as to how there can be concurrency issues though. Doesn't getNextInvoiceId run in a transaction with createInvoice or whatever? Does this imply that Transactions might not be protecting against concurrency in other situations? This is a problem that is causing us a great deal of difficulty, because it happens almost every day. -- James McGill Phoenix AZ
