-->
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: More than one entity in single mapping file
PostPosted: Wed Aug 27, 2008 3:57 pm 
Newbie

Joined: Wed Aug 27, 2008 3:36 pm
Posts: 1
Hi All,
We are currently working on converting an existing web application from old platform to J2EE platform. So we are trying to use hibernate 3.0 for persistence. The constraints we have are
1) Entities are already created on a global level(as part of developing other J2ee applications) and used across the enterprise. Hence we are forced to use these existing entities (and extend it, if required).
2) Forced to use the existing Database schema.

Given this situation, i am having several tables which requires mapping from more than one entity. For ex,
UserInfo and EmailInfo entities need to be mapped to USER table.
ApplicantInfo, RequestInfo and RateInfo need to be mapped to APPLICATION table.
Any insight on how hibernate can be used in the above situations is appreciated.

Thanks
Mahesh K


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.