-->
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: Implementing extensible object models
PostPosted: Wed Feb 02, 2005 7:34 pm 
Newbie

Joined: Mon Dec 27, 2004 3:44 am
Posts: 9
Hello,
I'd like to implement an extensible object model where the user is able to add arbitrary attributes to a Map on the class. The <dynamic-component> mapping does part of what I want, but still requires a schema change if the user adds a property. What I would like is for all of my extended properties to be stored in a single tall skinny EXTENTED_PROPERTIES table that has the following columns:

ID, PROPERTY_NAME, STRING_PROPERTY, FLOAT_PROPERTY, DATE_PROPERTY....etc.

This would allow the use to add extended attributes without having to modify the schema. Is there currently a way to this in hibernate? If not seems like a big oversight.

Edward


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 02, 2005 8:28 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
http://blog.hibernate.org/cgi-bin/blosx ... ata-driven


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.