-->
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: Using Hibernate Dynamic Mapping against a EAV model
PostPosted: Thu Mar 11, 2010 4:17 am 
Newbie

Joined: Thu Mar 11, 2010 3:33 am
Posts: 1
Hello ,

We are creating an application that requires dynamic creation of objects and their attributes (which may be linked to other objects as well) .We are currently using an EAV model to handle this where they are stored as Attribute-Value pairs . We have also used hibernate dynamic mappings to retrieve these data's from a view(which is again created dynamically). This works fine for us now , but I am not sure about the system's scalability for large volumes of data. We also need to create ad-hoc reports from the stored data ,which may pose to be a challenge.

I was wondering if we could do away with the EAV model and create DDL scripts every time an object / an attribute to that object is created and use dynamic mapping for these newly created tables. Would this be a good design ? Also I saw a post that mentioned that dynamic mappings is in an experimental feature in hibernate. Is it advisable to use hibernate in such a scenario or would it be better if I just stick to the EAV model ?


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.