-->
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: java => hbm?
PostPosted: Tue Jul 25, 2006 10:50 am 
Newbie

Joined: Tue Jul 25, 2006 10:46 am
Posts: 2
I feel like there must be a tool available to generate hbm from annotated java code, but I cannot find one. Can somebody direct me to such a tool?

Thanks,
Bruce


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 25, 2006 1:29 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
tools.hibernate.org

and in ant it would be something like:

Code:
<hibernatetool destdir="src">
  <annotationconfiguration configurationfile="hibernate.cfg.xml"/>
  <hbm2hbmxml/>
</hibernatetool>


in eclipse you would choose the pojo exporter.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 25, 2006 1:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
and do note that not every conceivable combanation is covered in this conversion.

bug reports and/or patches is very welcome in our jira.

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 1:59 pm 
Newbie

Joined: Tue Jul 25, 2006 10:46 am
Posts: 2
Thank you Very much!


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.