I'm getting this exception when committing a transaction:
Error creating record: Detected reentrant flush. Make sure your flush-time instance callback methods or event listeners do not invoke any operations that require the in-progress flush to complete.
If I understand this error properly, the record we are trying to persist could be causing an event listener or callback method to be invoked that requires the current flush to complete before it can complete. Is that right? I've looked through my entities to see if there are any callback methods (i.e. @PostXXX) declared or if there are entity listeners but I could not find any. What else could I do to solve this?