-->
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: Hibernate Tools help needed
PostPosted: Fri Feb 12, 2010 8:29 am 
Newbie

Joined: Fri Feb 12, 2010 12:29 am
Posts: 2
Hello All,

I have a requirement do reverse engineering programmatically, I tried with Eclipse plug in it works perfectly, but I want do the same in my code.

I tried with hibernate-tools-3.2.0.beta9a.jar but I couldn't able to locate the hierarchy of object formation do the following steps.

1. Configuration should be dynamic with DB parameters.
2. With Configuration I have to define the Table Filters how reveng.xml does.
3.Need to generate hbm.xml ,Pojo and DAO Exporters for the schema for the filters selection.

It would be great if anyone give the hierarchy of object formation or code snippet.

Thanks in Advance,
Selva


Top
 Profile  
 
 Post subject: Re: Hibernate Tools help needed
PostPosted: Sat Feb 13, 2010 3:07 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
Take a look at the hbm2x.* unit tests. They show how to use the tools programmatically.

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