-->
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: mapping individual fields to different tables
PostPosted: Thu Jan 22, 2004 2:49 pm 
Newbie

Joined: Wed Jan 21, 2004 1:59 pm
Posts: 5
I have an application that logs events to a history table, and my clients want some of the event fields to be saved into their existing DB schema, which has the fields spread out across several different tables.

Is it possible to configure Hibernate to store individual fields of a class in different tables without creating a separate class to contain those fields? It would be nice if I could just configure the hibernate mappings to point the fields to these tables. I don't think its possible; at least I'm not sure how you could map to the correct row in the existing table.

Any input appreciated,

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 22, 2004 5:26 pm 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
No this is currently not possible. It might be introduced in 2.2 with the <join> element.


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:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.