Feb 6th, 2012, 02:51 AM
InvalidPropertyException in form of MVC
I have a question regarding a form. The scenario is as follows: I have a form, where the user should select the values of a Many-To-Many relationships he tries to related created object to (bean.fooBar - ManyToMany). Due the fact that Hibernate forces me to use Sets instead of Lists I used before, I get the following exception: org.springframework.beans.InvalidPropertyException : Invalid property 'fooBar'.
How do I avoid that? Is there any workaround?