Hello,
I use Hibernate 3.2.
I have found a problem with an entity and multiple ManyToOne Reletionships if I use a JoinTable.
As shown in the example, I got 2 ManyToOne Relationships. These are bound to one JoinTable, but different columns.
It seems, that Hibernate binds this JoinTable always to the last declared ManyToOne Annotation.
Is there a way to solve this problem?
Example:
Entity A
1. ManyToOne (JoinTable="MyJoinTableA", JoinColumn="myid", Inverse="columen_a")
...
2. ManyToOne (JoinTable="MyJoinTableA", JoinColumn="myid", Inverse="columen_b")
...
|