Oct 25th, 2012, 07:00 PM
Using RooJsfManagedBean with a datamodel that contains a set
Last week I pulled down STS 3.1.0, and used Roo to reverse engineer a PosgreSQL database. From the reverse engineer I got objects that contained 'Set's for the objects it was linked to (for example the User object contained a Set of LoginHistory objects).
When I created a JSF frontend for this through Roo, I got the Bean that related to the User object - but the file that is related to the RooJsfManagedBean annotation doesn't contain an include for java.lang.Set, so STS shows up a compilation error.
Its probably not a massive problem, because like as not I'll switch to using Lists, but the generation of the aj file doesn't seem quite right I think.
Hope that makes sense, and is of some use.