-->
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: Hibernate & Dynamic Mapping
PostPosted: Wed Apr 26, 2006 4:44 am 
Newbie

Joined: Wed Apr 26, 2006 4:39 am
Posts: 1
Hi,

I am trying to find some information about how Hibernate works with dynamic mapping/modelling. The little info I have found suggests that this was planned for version 2.2 but I cannot find anything more substantial on this feature or 2.2

Could someone please point me in the right direction for this?

Thanks in advance.

--muser


Top
 Profile  
 
 Post subject: Re: Hibernate & Dynamic Mapping
PostPosted: Wed Apr 26, 2006 8:01 am 
Senior
Senior

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

I am trying to find some information about how Hibernate works with dynamic mapping/modelling. The little info I have found suggests that this was planned for version 2.2 but I cannot find anything more substantial on this feature or 2.2

Could someone please point me in the right direction for this?

Thanks in advance.

--muser


you need to build the SessionFactory on runtime and pass your mapping-configuration:

SessionFactory sf = new Configuration()
.configure("myconfig.cfg.xml")
.buildSessionFactory();

_________________
Please don't forget to give credit, if my posting helped to solve your problem.


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.