-->
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: Porting to Hibernate from DAO...tool advice
PostPosted: Wed Nov 24, 2004 12:06 am 
Newbie

Joined: Thu Aug 28, 2003 12:52 pm
Posts: 1
Location: White Plains, NY
Hi All,
My company is strongly considering scrapping their existing DAO-based JDBC persistence "framework" and implementing Hibernate. We currently have over 300 persistent classes and of course a corresponding database. This is a production application already.

I am partial to the XDoclet hibernate plug-in, but it would be a bit of a pain to write XDoclet tags for all these classes. Is there a tool that would help with this process? Ideally, something that has some awareness of both our domain model and corresponding database model and would help filling in the gaps so that we could use XDoclet without doing all that hand tagging.

I have read the tool wiki's but there doesn't seem to be anything that fits this niche. Any suggestions would be appreciated!
Thanks!!!
Niels


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 24, 2004 1:40 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
best guess i can think of is middlegen which works very well if the database schema is rich (eg. contains the constraints)

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 24, 2004 9:25 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
I'm with Max on this :-) Middlegen will be able to create the HBMs with XDoclet markup then hbm2java will give you the Java POJOs with the XDoclet tags intact. The bulk of the work done in an hour or so.


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.