Greetings!
I am desiring to write a tool (Xdoclet extension) for a current project which, based upon an arbitrary named HQL query in the hbm file, will generate a POJO representing one row of the result of the query.
Query will return the types, but I am wondering if there is some way to use NamedSQLQuery which has the names of the returned aliases (which I would use to generate the bean).
I'm sorry to ask, I spent a couple of hours pouring through google and the api, and haven't found anything. I'm hoping that someone here might be able to help.
Thanks in advance,
matt
|