Hi,
so i found the problem but no solution. The problem is that the foreign key of
the referenced "Word" is inside the Join-Table marked as unique, which I
switched manually to index.
Anyone got any clues on how I can avoid the word_content being unique in the
join table? Thanks!!
| @OneToMany
| @JoinTable(name="sentence_word",
| [EMAIL PROTECTED](name="sentence_id")},
| [EMAIL
PROTECTED](name="word_content",referencedColumnName="content")})
|
| /**
| * @return the words
| */
| public Collection<Word> getWords() {
| return words;
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3975576#3975576
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3975576
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user