Announcement Announcement Module
No announcement yet.
Zero to many relationships Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Zero to many relationships

    I have only been working with Roo/Spring/Hibernate for a short period of time, so please excuse me if this is a dumb question......

    I have been able to easily follow the examples for one-to-many and many-to-many relationships, but I have not been able to find any info on zero-to-many relationships and how those are done. Using one-to-many doesn't really work for my situation because then the UI requires the relationship to be in place to save the data when its really optional in my case.

    Thanks for any help you can provide.

  • #2
    This is currently not directly supported by Roo. Meaning, you will need to make some minor adjustments to your controllers and view artifacts. See which contains links for workarounds. For Roo to support this a small change in Spring Framework as tracked here