-->
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: Merging orm.xml and annotations, possible?
PostPosted: Mon Jun 04, 2007 9:32 am 
Newbie

Joined: Wed May 24, 2006 10:11 am
Posts: 5
Hibernate version:
3

Good day to all,
I'm using EJB 3.0 with Java Persistence; I have my entities annotated and everything works fine; my question is: is it possible to provide the orm.xml so that only the table that is mapped is overriden? I tried doing this, but when I deployed the ear it said that I was missing the id for the entity, so I understand that I should provide all the mapping informations in the orm.xml. However, everything else is fine and I don't want to re-write everything, I just want to change the table that the entity maps to.

Is it possible Any ideas?

Regards

Alejandro


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.