Beginner |
|
Joined: Mon Jun 06, 2005 6:48 pm Posts: 45
|
I like to be to have fast turn around time for development and would like to reduce individual changes to mapping files by hopefully using the hibernate config file. I did some research and it sounds like what I want to do is possible but have not seen any working examples.
am interested if anyone has done this:
1. Put Sequnce generated key information in the hibernate config file so you do not need to hand edit the mapping files.
2. Put something like array property into the hibernate config file so you do not need to hand edit the mapping file.
I am trying to keep certain type of changes centralized and there are hints that the hibernate config file may support this. That so I can repeatedly run the following process without hand editing individual mapping files for sequence generated info such as table name for sequnce generated ids and for specifying individual vo classes to be arrays versus keys in composite hibernate vo objects:
Gen hbm files -> gen hibernate vo files -> deploy hibernate config, mapping and vo files
Thanks
|
|