[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to handle several collections, which store the same

2007-01-25 Thread alexg79
Specify a different join table for each collection. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006373#4006373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006373 ___ jbo

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to handle several collections, which store the same

2007-01-16 Thread toni
Hi, I found somebody else, who has the same problem: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=95514&view=previous View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002380#4002380 Reply to the post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to handle several collections, which store the same

2007-01-16 Thread toni
Well, I manually removed the NOT NULL contstraints and then everything works as expected. So I guess my question boils down to why does JBoss or Hibernate create NOT NULL constraints for those columns? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002363#40