-->
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: Can you provider a full example
PostPosted: Thu Dec 29, 2005 8:45 am 
Newbie

Joined: Mon Dec 26, 2005 9:43 pm
Posts: 6
I want to user the Hibernate ant tools,
I need a full example about configuration with reverse engineering support that is include custom strategy


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 29, 2005 8:51 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Code:
<hibernatetool destdir="[output dir]">
   <classpath> <!-- a classpath is optional, but needed for exporters that require access to domain classes etc. -->
    <path location="[classpath of needed classes, such as domain classes and usertypes - dependent on the chosen exporter]"/>
   </classpath>
   
   <jdbcconfiguration configurationfile="hibernate.cfg.xml" reversestrategy="BlaBlahStrategy"/>

   <hbm2java ejb3="true" /> <!-- generate default .java files with EJB3 annotations -->
   <hbm2java templatespath="src/testsupport/templates"/> <!-- code generation with custom templates (yes, can run each task more than once! -->
  </hibernatetool>


the only diff between this and the documentations is reversestrategy="BlahBlahStrategy"

_________________
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.  [ 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.