Hi,
We are having INSERTED_BY, INSERTED_DT, UPDATED_BY and UPDATED_DT plus few other parameters which are common across all of our tables in the database. To handle all these parameters, we have an abstract base class and all our domain classes extend from this base class.
Is it possible to define one common hibernate mapping file for this parameter associated with that abstract class and skip these common parameter mapping in rest of the child classes.
If Yes, can you please provide me the syntax for both parent and child class mapping.
p.s: I went thru hibernate documentation and it states for per table, I was not sure if the above can be done. Hence, checking with you Hibernate experts.
Thanks in advance for your help.
|