a couple of initial thoughts..
1. if what you're after is the ability to generically display
a resultset for all sorts of different sql queries, then
adding that capability into the framework seems like
a better solution than creating a dummy bean for each
and every different type of result set.
i can show you the places in the system where the
cmd return type is inferred; the rest is mostly swing:
perhaps a jtable that's bound to the resulting list of
object[]'s.
2. the nice thing about jmatter is the fact that you define
a type and you get both [1] the ui for it, and [2] a persisted
entity (thanks mostly to hibernate). what i didn't spend
much time on, is a design that easily allows for
decoupling the two: defining a type that you want to
persist but not display, or display but not persist.
the former is fairly a no-brainer. not adding the type
to the class bar is one way to not have it in the ui.
the latter may be a little trickier. we can start by not
putting an @Entity on the type. but the base type
AbstractComplexEObject assumes you're dealing with
a persisted entity. i'm thinking perhaps base commands
such as type().Browse() may leak in the ui if the type
is added to the classbar.
/ eitan