Hi,
I am using middlegen to get the hbm.xml files from my database. I want to manipulate some redundant information in the way that I am going to explain.
For example I have a user table with: firstname, lastname, sex, age.
I can say that name = lastname, firstname. can I specify to middlegen to generate a get method with that info.
When I generate with middlegen I get the real attributes from a table. Can I create fictitious attributes, like "name" in this case, to generate setters and getters methods?? (or maybe just getter).
Thank you very much!!!
Ransel
|