Brett Meyer commented on an issue
Hibernate ORM / Bug HHH-3683
Embedded classes not taken into account when order_inserts is enabled
It seems that Embedded classes are not being taken into account when batch insert statements are ordered.

In the test case for example, when the insert statements are ordered (org.hibernate.engine.ActionQueue.sortInsertActions), the "state" of the Car EntityInsertAction is the (Embedded)Registration object, but the checkAction instance ,that should be i...