-->
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: Dynamic Model and mapping suggestions
PostPosted: Tue Jan 15, 2008 1:36 am 
Beginner
Beginner

Joined: Tue Aug 08, 2006 11:53 am
Posts: 37
Hi Friends -

I'd appreciate your expert thoughts and suggestions for the below requirement.

We dont have a static entity model i.e. our table doesnt contain a fixed set of coulmns. Or to put in another way we doesnt want our CUSTOMER entity to contain just id, firstName, lastName and age. We want our entity to be generic (name=value pair) so that we can accomodate N number of attributes without touching the TABLE def. This gives us lot of flexibility while boarding new customers etc. As of now our CUSTOMER table has around 200 attributes (and increasing).

Initially we started off with a POJO but i dont see thats a viable option. Appreciate if you can provide some suggestions on how to handle this. One option that appears to be the solution is a dynamic-map entity-mode. After browsing throught the forums it seems like it has many performance implications!

Thank you in advance.


Top
 Profile  
 
 Post subject: Re: Dynamic Model and mapping suggestions
PostPosted: Tue Feb 26, 2008 12:59 pm 
Newbie

Joined: Tue Feb 26, 2008 11:33 am
Posts: 7
Hello triveni,

I'm also very interested in using dynamic entities.

Currently I tried it with dynamic-map entity-mode. It seems to work, but I have no performance-comparison to static POJOs, beause I don't know how to realize it the other way. Dynamic-map is still in experimental state, but I hope that it will became stable.

Mark


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.