-->
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.  [ 1 post ] 
Author Message
 Post subject: Re: Hibernate Annotations, JDK 5.0 and Spring
PostPosted: Sun Sep 17, 2006 1:08 pm 
Newbie

Joined: Sun Sep 17, 2006 12:10 pm
Posts: 2
Hi

I am contemplating using Hibernate Annotations for my current project (which has just started). On our previous project, we used Hibernate 3.1, XDoclet1 and Spring 1.2.8. With XDoclet1, we could not use JDK5.0 constructs in our domain model classes. Thus, for our new project, we are looking at using XDoclet2 or Hibernate Annotations, with Spring 2.0.

I am just a bit confused as to where exactly Hibernate Annotations fits in. I have done some surfing on this, and my understanding is as follows:

1. Hibernate Annotations works with both the EJB Entity Beans and the Persistance API (Provided by the Hibernate EntityManager), and it can also be used in standalone mode with native Hibernate itself.
2. If I do not want to go EJB3 Persistence, then my understanding is that I can still use Hibernate Annotations to replace my existing usage of xdoclet (which I obviously used to create the hbm files). This will also be enable me to use JDK5.0 constructs in the persistent entities. which would also mean that I do not have consider Xdoclet2.

Can someone please comment on the accuracy of these statements?

Also, assuming the above is true, then can I assume that all the functionality that is presenting in the hbm files (and xdoclet1) is fully available in the current version of Hibernate Annotations 3.2Cr2 and Hibernate Core 3.2 Cr4.

Thank you very much.

Regards

Chris


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.