-->
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.  [ 2 posts ] 
Author Message
 Post subject: Hibernate OGM "hbm.xml"
PostPosted: Thu Jul 19, 2012 8:46 am 
Newbie

Joined: Thu Jul 19, 2012 8:44 am
Posts: 2
Hello everybody,

is it possibel to have a "hbm.xml" file fore every persitent class insted of using annotations in the class files?

I can`t find any documentation about that. I only found annotations for the declaration. (https://community.jboss.org/en/hibernat ... =documents)

Can everybody help?

Best wishes and thanks

Andrea


Top
 Profile  
 
 Post subject: Re: Hibernate OGM "hbm.xml"
PostPosted: Mon Jul 23, 2012 6:07 am 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
Hi Andrea,
I admit I didn't try xml mapping myself but it should just work: Hibernate OGM replaces some internal components from the standard Hibernate ORM; most of the bootup process, architecture and especially entity mapping is the same code as of "traditional" Hibernate usage.

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.