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.