Hello Karol Jasłowski, having your embedded ids implement Comparable is a valid workaround for the issue. We used to sort embeddable components differently in Hibernate 5, using all the properties contained in the component type. I will try to check if this was an intended change or if we can restore previous behavior. |