Bug since 3.6.0 still not fixed.
See https://hibernate.atlassian.net/browse/HHH-5764 or http://www.dvlup.com/Community/View/14226738?sort=newest&tag=many-to-one
AssertionFailure happens, if you have dependent compositeId-levels deeper than two.