-->
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.  [ 4 posts ] 
Author Message
 Post subject: How to config DAO generation ?
PostPosted: Wed Jan 24, 2007 10:35 am 
Newbie

Joined: Wed Jan 24, 2007 10:29 am
Posts: 5
Hi all,

I want to change the class name of the DAOs. For example, the default DAO class name for POJO Part.class is PartHome.class. I want it be PartDAO.class.
How can I do it?
Thank you!

Hibernate Version: 3.2.1
Hibernate Tools Version: 3.2.0beta9a


zhlmmc


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 24, 2007 12:16 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
set filepattern attribute an adjust the daohome.ftl template...yes its not perfect.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 24, 2007 1:18 pm 
Newbie

Joined: Wed Jan 24, 2007 10:29 am
Posts: 5
max wrote:
set filepattern attribute an adjust the daohome.ftl template...yes its not perfect.


Would please give me some detailed info? Where is daohome.ftl?

Thank you!



zhlmmc


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 24, 2007 1:25 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
look in the docs and look in hibernate-tools.jar

_________________
Max
Don't forget to rate


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

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.