[jboss-user] [JBoss Seam] - OneToMany - view

mortena do-not-reply at jboss.com
Mon Oct 29 08:04:02 EDT 2007


I've just started using Seam and needs to implement the following scenarios as one of the first:

Entities:
Person - has(1-*) Address.

implemented it's something like:

public class Person{

   @OneToMany
   List addresses;

}

I would like to be able to:

  | Create a new Person with a default address in one form.
  | Add new addresses to an existing Person.
  | 
  | 
  | How do I do that?
  | 
  | Can seam-gen handle relationships between entities?

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

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



More information about the jboss-user mailing list