-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: How to generate custom helper classes for named queries?
PostPosted: Wed Nov 16, 2005 5:17 pm 
Beginner
Beginner

Joined: Tue Nov 15, 2005 6:56 pm
Posts: 39

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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.