-->
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.  [ 5 posts ] 
Author Message
 Post subject: code generator
PostPosted: Thu Aug 20, 2009 1:16 pm 
Newbie

Joined: Thu Aug 20, 2009 1:12 pm
Posts: 11
Hi

Does anyone know of a tool which can convert a db table to a java class. I am developing a web app and the persistence layer will be using hibernate annotations, hence why I ask.

thanks


Top
 Profile  
 
 Post subject: Re: code generator
PostPosted: Fri Aug 21, 2009 2:27 pm 
Newbie

Joined: Tue Feb 24, 2009 8:39 pm
Posts: 19
Hibernate Tools has a reverse engineering plugin for eclipse.

https://www.hibernate.org/255.html

you must read more ;) ñ_ñ


Top
 Profile  
 
 Post subject: Re: code generator
PostPosted: Sat Aug 22, 2009 3:29 pm 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
Section 3.5 talks about reverse engineering of you database into Java and the subsequent Java code generation from your db tables and columns. It's a pretty good reference tutorial on turning your database into a Hibernate usable format:

http://docs.jboss.org/tools/2.1.0.Beta1/hibernatetools/html/plugins.html#d0e890

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


Top
 Profile  
 
 Post subject: Re: code generator
PostPosted: Sun Aug 23, 2009 4:01 pm 
Newbie

Joined: Thu Aug 20, 2009 1:12 pm
Posts: 11
wonderful. thanks guys


Top
 Profile  
 
 Post subject: Re: code generator
PostPosted: Sun Aug 23, 2009 11:01 pm 
Expert
Expert

Joined: Tue May 13, 2008 3:42 pm
Posts: 919
Location: Toronto & Ajax Ontario www.hibernatemadeeasy.com
You're welcome. :)

_________________
Cameron McKenzie - Author of "Hibernate Made Easy" and "What is WebSphere?"
http://www.TheBookOnHibernate.com Check out my 'easy to follow' Hibernate & JPA Tutorials


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