Schema generation with EclipseLink and Hibernate (JPA2.1) - @ForeignKey ignored

后端 未结 1 2028
孤街浪徒
孤街浪徒 2021-01-06 04:54

I am testing JPA2.1 and the new \"schema generation\" feature. For that, I tested two implementations under the HyperSQL database :

  • EclipseLink 2.5.2-M1 which
1条回答
  •  悲&欢浪女
    2021-01-06 05:29

    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.

    0 讨论(0)
提交回复
热议问题