[jboss-user] [EJB 3.0] - Re: oneToMany returning duplicated objects.

Juergen.Zimmermann do-not-reply at jboss.com
Tue Aug 1 04:45:24 EDT 2006


@OneToMany and Collection as return type yields bag semantics (see docs). Switch to e.g. List and add @OrderBy should solve the problem.

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962087



More information about the jboss-user mailing list