-->
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: Dynamic Mapping: Custom Entities
PostPosted: Mon Oct 20, 2003 3:47 pm 
Newbie

Joined: Mon Oct 20, 2003 3:22 pm
Posts: 1
I have an application where an administrative user can create custom-defined entities in the database. Creating an entity involves defining the columns for the entity and storing the definition in the database. A table is created based on the definition to persist instances of the entity. Entities always have an id column as a primary key and a date column to indicate when the data was saved.

Is there a way to dynamically map Hibernate to these custom-defined entities, since they do not exist at deployment? I have searched high and low through the documentation, forum, and FAQs with no luck. I have found documentation that mentions using Dynabeans along with references to runtime mapping, but it is not clear from how this might be implemented.

Does anyone have insight as to if this can be done and how? If they can't be dynamically mapped, what is the appropriate way to take advantage of Hibernate's capabilities in this scenario? Examples would be greatly appreciated.

Thanks!


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.