I am testing JPA2.1 and the new \"schema generation\" feature. For that, I tested two implementations under the HyperSQL database :
Seems I'm running into bugs of both Hibernate HHH-8783 (I will comment it again, because this does not work with @JoinTable
and @OneToMany
/@ManyToMany
) and EclipseLink 425656, so my question is not longer relevant.
Last thing I still need to understand (but it is outside the scope of my original question) is why I have an unique key generated for @OneToMany
in Hibernate, and not in EclipseLink.