[jboss-user] [EJB 3.0] - Re: Single Inheritance / ConstraintViolationException / Pos

2007-09-14 Thread waynebaylor
you can use @Column like this: @OneToMany(cascade = {CascadeType.ALL}) | @Column(nullable=false) | List juniors = new ArrayList(); | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084451#4084451 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [EJB 3.0] - Re: Single Inheritance / ConstraintViolationException / Pos

2007-09-13 Thread toni
Thanks for the advice. However, the problem is that those columns are out of scope for any annotations I place on my columns. That's because those columns are automatically generated by hibernate to keep track of the OneToMany relationships. In other words I have no column on which I could plac

[jboss-user] [EJB 3.0] - Re: Single Inheritance / ConstraintViolationException / Pos

2007-09-13 Thread waynebaylor
you could try @Column(nullable=false) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083998#4083998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083998 ___ jboss-user mailin