max wrote:
and NamingStrategy is not what you want ?
NamingStrategy is not what I was looking for. NamingStrategy (and corrent me if I am wrong) looks to be a method for doing things like appending a prefix to table/column names and other such tasks.
What I want to do with the framework I am developing is not force table/column names the others that may use this framework. For example I may call a table "usr" and someone else may want to name the table "organization_user" or if the person speaks a different language than myself they may want to have all the table/column names in thier native language. I want to do complete substitutions. Without wading through the hbm.xml files it would be nice to have a single properties file that could hold all of this such as:
table.user.name=USER
table.company.name=COMPANY
Makes sense? Any thoughts?
-Anthony