-->
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: modifying MetaModel-config during runtime possible?
PostPosted: Tue Sep 20, 2005 5:49 am 
Senior
Senior

Joined: Mon Aug 22, 2005 5:45 am
Posts: 146
Hi

is it possible to change MetaModel-config during runtime?
org.hibernate.metadata.ClassMetadata aka BasicEntityPersister
has all the getters for the model, but no setters.

For testing purpose I need to set an attribute of a property.

Hibernate version: 3.0.5


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 20, 2005 9:02 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
you want to change the metamodel at runtime ?
Then use the Configuration API and rebuild the sessionfactory.

_________________
Max
Don't forget to rate


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.