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: Generate Java (POJO) from DDL
PostPosted: Fri Jun 19, 2009 5:40 pm 
Newbie

Joined: Mon Feb 26, 2007 5:23 pm
Posts: 5
New to hibernate.

Could someone point me to some documentations and/or, provide sample examples for generating POJO from DDL?


Top
 Profile  
 
 Post subject: Re: Generate Java (POJO) from DDL
PostPosted: Fri Jun 26, 2009 3:51 am 
Newbie

Joined: Tue Jun 16, 2009 3:39 am
Posts: 3
Salto DB Generator isn't perfect, but it gives you a good head start.


Top
 Profile  
 
 Post subject: Re: Generate Java (POJO) from DDL
PostPosted: Fri Jun 26, 2009 5:05 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
In case you're using Eclipse, there's the Reverse Engineering part of Hibernate Tools.

Caveat: Hibernate Tools suck at diagnosing errors in your configuration, so if you misconfigure things, you're left to fiddling and clever guesswork.

(I got database access and DDL-to-association inference to work, but I can't manually configure associations that aren't explicit in the database.)

Other tools might work better or worse, I don't know.


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.