But my problem is that i want to have OneToMany relation between 
Documents and Dictionaries

@Entity
class Document {
...
@OneToMany (not ManyToMany)
private Collection dict1
...
}

With many to many i would have to create additional join table...

in Document bean I have only dict_id, without dict_status, dict_locale and 
using only dict_id in relation annotation give me ManyToMany no matter that I 
give additional condition in EJB-QL (dict_status, dict_locale)

The best would be to have some kind of parametrized relation with dict_status 
and dict_locale, that would give me OneToMany.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4050004#4050004

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4050004
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to