-->
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.  [ 2 posts ] 
Author Message
 Post subject: How to mapping database using Ant Hibernate Tools
PostPosted: Sat Jan 12, 2008 1:46 pm 
Newbie

Joined: Sat Jan 12, 2008 12:55 pm
Posts: 1
I have this task in my ant:

Code:
      <hibernatetool destdir="generated">
         <jdbcconfiguration configurationfile="hibernate.cfg.xml" packagename="com.test"/>
          <hbm2java/>
      </hibernatetool>


It`s works and mapping my database in Java class.
But I would like my Java classes come with annotations as in Hibernate Tools plugin. How to do this using Ant?

Thanks!!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 12, 2008 2:47 pm 
Beginner
Beginner

Joined: Fri Nov 03, 2006 3:21 pm
Posts: 30
<hbm2java jdk5="true" ejb3="true"/>


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