-->
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: hibernate annotations
PostPosted: Mon Nov 28, 2011 5:43 am 
Newbie

Joined: Mon Nov 28, 2011 5:37 am
Posts: 1
Hii

I am newbie to hibernate. I have a doubt in hibernate annotations.. Hibernate provides data mapping with xmls and with JPA Annotations. Does hibernate has its own annotations without depending on JPA?? I have checked the documentation of hibernate. In chapter 5 they have mentioned like this...


Code:
5.1. Mapping declaration

Object/relational mappings can be defined in three approaches:

    *

      using Java 5 annotations (via the Java Persistence 2 annotations)
    *

      using JPA 2 XML deployment descriptors (described in chapter XXX)
    *

      using the Hibernate legacy XML files approach known as hbm.xml


does it mean , hibernate doesnt have annotations independent of JPA annotations and as an alternative to xml mappings??


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.