-->
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: hibernate annotation Vs xdoclet
PostPosted: Fri Jan 06, 2006 12:56 pm 
Beginner
Beginner

Joined: Fri Jun 17, 2005 7:24 am
Posts: 23
Can hibernate annotation replace xdoclet now? Is the xdoclet enough tool to support now? for example create sql script?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 06, 2006 7:46 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Yes - Xdoclet and Annotations both don't are not 100% coverage of HBM but the large majority of both is covered. The choise is yours. Personnally, go with Annotations if JDK5 is not an issue.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 07, 2006 10:05 am 
Beginner
Beginner

Joined: Fri Jun 17, 2005 7:24 am
Posts: 23
Yes i am using jdk1.5. I just afraid that the whole project will be affected in the future. Is it in the future the hibernate annotation will fully replace the hbm?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 07, 2006 11:50 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
annotations will (and is very close) to support all the hbm.xml functionallity; except some parts that you will probably still need to use hbm.xml for...but since they can both be mixed its no problem.

so in short annotations and hbm.xml is here to stay.

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