📜  同一实体的多个表示正在合并 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:08.249000             🧑  作者: Mango

代码示例1
The correct solution would have been to upgrade to hibernate 4.2.15 / 4.3.6 or above and add the following lines to your persistence.xml:



multiple representations of the same entity stack overflow, java - Multiple representations of the same entity are being merged (Hibernate) - Stack Overflow. I have two tables in my database - Restaurant and RestaurantTable. There is a @OneToMany relationship between them (a restaurant can have many tables). java.lang.IllegalStateException: Multiple representations of the same entity with @ManyToMany 3 entities (11 answers). Closed 2 years ago.