Sep 22nd, 2010, 07:59 AM
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.
Sep 22nd, 2010, 11:41 AM
This is currently not directly supported by Roo. Meaning, you will need to make some minor adjustments to your controllers and view artifacts. See https://jira.springsource.org/browse/ROO-581 which contains links for workarounds. For Roo to support this a small change in Spring Framework as tracked here https://jira.springsource.org/browse/SPR-7053.