Hi all,
When using hibernatetools it's possible to use a parameter named templatepath. I would like to use it with freemarker templates.
I have read some freemarker tutorials and understand it ok. But my question appears in the integration between htools and freemarker.
For example: Supposing I have a template that writes:
Code:
"public class ${CLASS_NAME_FROM_HTOOLS_GOES_HERE}...."
How do I proceed to get from hibernatetools the name of the class that I should create?
Supposing I have an hibernate.cfg.xml with 50 hbm entries I think my template should be called 50 times. Am I right?
So, there are some "variable name" that I should use to replace "${CLASS_NAME_FROM_HTOOLS_GOES_HERE}" and get the name from hibernatetools?
I hope you can understand me.