hibernate/hibernate-orm — pull request #481 by javaprog (2013-03-08 19:57:11+00:00)
Title: HHH-3683

Assuming that the insert list in the action queue only contains EntityInsertAction instances causes ClassCastExceptions when sorting them. Instead, the base class AbstractEntityInsertAction should be used, so that also EntityIdentityInsertAction instances are supported.