The relevant section of the call stack looks like:
"http-bio-9080-exec-4@2028" daemon prio=5 tid=0x1b nid=NA runnable
java.lang.Thread.State: RUNNABLE
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter$BatchIdentifier.hasParent(ActionQueue.java:1095)
at org.hibernate.engine.spi.ActionQueue$InsertActionSorter.sort(ActionQueue.java:1190)
at org.hibernate.engine.spi.ExecutableList.sort(ExecutableList.java:252)
at org.hibernate.engine.spi.ActionQueue.sortActions(ActionQueue.java:763)
at org.hibernate.event.internal.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:221)
at org.hibernate.event.internal.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:85)
at org.hibernate.event.internal.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:38)
at org.hibernate.internal.SessionImpl.flush(SessionImpl.java:1295)