-->
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.  [ 3 posts ] 
Author Message
 Post subject: Change name of .java file while using <hbm2dao>
PostPosted: Mon Mar 10, 2008 8:58 pm 
Newbie

Joined: Wed Aug 01, 2007 6:12 am
Posts: 1
Hi all,

How do i change the name of dao java file generated using the hibernate-tools to some other name.

ex: if the generated dao file is say *****Home.java , wanted to change it to *****DAO.java

any help is highly appreciated....


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 11, 2008 3:20 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
not sure the dao exporter supports it fully, but use the filepattern attribute (look in the docs)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject: Re:
PostPosted: Mon Oct 26, 2009 1:26 pm 
Beginner
Beginner

Joined: Wed May 23, 2007 1:07 pm
Posts: 28
max wrote:
not sure the dao exporter supports it fully, but use the filepattern attribute (look in the docs)


Hey max,

Does this actually work? I haven't been able to make it work, both with file_pattern and filepattern.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.