Using HibernateTools3.1.0Beta1.
Here is my problem:
I'm trying to generate custom helper classes for named queries that appear in my hbm.xml files. So, as the hbm.xml files are read in, I want to look in each file for the named queries and generate a seperate helper utility class for each named query I find. What is the best way to do this? I'm guessing using the <hbmtemplate> is the way to go and create my own Exporter. However, what method should I put code in (override?) etc.? Should I override doStart() method and just call my own custom velocity code there?
Thanks for any help.
|