Results 1 to 3 of 3

Thread: roo ManyToMany

  1. #1
    Join Date
    Aug 2009
    Posts
    5

    Default roo ManyToMany

    Just curious if roo supports building a ManyToMany relationship with the roo shell.

    I've been able to build a OneToMany, a ManyToOne, etc, but the only way I've found of implementing a ManyToMany is to hand modify the Entity Classes, and then udpate the list.jsp and edit.jsp files to correctly allow their update/add.

    Thanks

    Murf

  2. #2
    Join Date
    Mar 2008
    Location
    Sydney, AU
    Posts
    974

    Default

    @djmurf

    The m:n relationship can be replicated with the existing relationship support in Roo. Please find the relevant discussion here:

    http://forum.springsource.org/showthread.php?t=74203

    We have yet to see a compelling reason to support m:n relationships via the @ManyToMany annotation (it would also be somewhat awkward to support in the generated UI).

    -Stefan

  3. #3
    Join Date
    Aug 2009
    Posts
    5

    Default

    Thank you much, will check out the posting!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •