Hibernate Tools version:
3.2.0beta6
Hello!
I want to change the
generator class in code generation template
../hbm/id.hbm.ftl:
The original code in the template id.hbm.ftl is:
Code:
<generator class="${property.value.identifierGeneratorStrategy}" />
Generation output is:
Code:
<generator class="assigned" />
I want to change this to:
Code:
<generator class="some.package.Classname" />
Do I have to do this by creating a custom template or can i also change the property
property.value.identifierGeneratorStrategy in some other way? Where are these properties defined?
Thanks for your help!