-->
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: mapping multiple tables to a single generic object
PostPosted: Thu Sep 25, 2008 11:13 am 
Newbie

Joined: Thu Sep 25, 2008 11:02 am
Posts: 1
Location: UK
Hi,

I'm hoping to use hibernate .hbm files for out situation where we need to be able to add tables at runtime. I looked into dynamically generating the source for the corresponding domain objects and compiling them but it seemed too awkward.

So, I'm wondering if its possible to map tables to a common generic object? Something like an object containing a java.util.Map which can hold the values from our extra tables as name value pairs. Is this achievable?

apologies if this has been asked before, I did search first but didn't see anything relevant.

Thanks,
Brad.


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.