Hello,
I am using hibernate tools eclipse plug-in to generate my hbm's and pojo's. I need to customize the generation to behave differently on the hbm.xml. For example, i want to have a 'select-before-update="true"' on all the classes, have a ' cascade="all" ' within the <Set> definition etc.
Although I know that a custom reveng 'strategy' could be defined, i was just unable to implement a solution for this.
Could someone please post a solution for this? For example, how should I set that on default all <Set> xml definitions will be created with a 'cascade=all' property?
Many thanks,
Oran Topaz
|