Hi,
I'm wondering if hibernate is providing ways to handle dynamic alteration of mapping files.
My aim is to have classical mapping files for my pojo but upon a specific tagging process (to be identified based on your answers), the mapping file will be modify to include generic settings.
Exemple:
----------
1 - Class MyItem is mapped to MY_ITEM table in DB.
2 - Class MyItem is marked as versionnable
3 - Class MyItem is not mapped to MY_ITEM in DB concerning it's specific data but it is also mapped to the MY_ITEM_MASTER table where all the versions of the MyItem instance will hold a single master component.
I found how to do that upon writing my own mapping file but I need to do it on all my pojo's independently...
Thanks for any tips...
|