Roo shell requires {} in @RooEntity#finders element
If I have a Roo-managed "Pizza" entity annotated thus:
and I add this "finders" element to it:
Code:
@RooEntity(finders = "findPizzasByName")
then nothing happens in the Roo shell. It's only when I add the curly braces like this:
Code:
@RooEntity(finders = {"findPizzasByName"})
that Roo creates the Pizza_Roo_Finder.aj file. Yet the compiler is happy without the braces, and all other annotations I've worked with are equally happy without the braces. Is this a bug/limitation in Roo's annotation parsing?
Andrew Swan
"Now is the EJB of our discontent made glorious Spring"