-->
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.  [ 5 posts ] 
Author Message
 Post subject: Hibernate DynamicBinder?!?
PostPosted: Tue Aug 30, 2005 2:25 am 
Beginner
Beginner

Joined: Sun Apr 24, 2005 4:25 am
Posts: 28
Hi,

is it possible to get a DynamicBinder such as the HbmBinder? DynamicBinder is for binding mappings while running an application and reconfiguring the configuration (SessionFactory).


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 2:29 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
You aren't limited to one configuration and you aren't limited to one sessionFactory. Read this and let me know if you have any more questions.

http://www.hibernate.org/hib_docs/refer ... ogrammatic


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 3:01 am 
Beginner
Beginner

Joined: Sun Apr 24, 2005 4:25 am
Posts: 28
I know about that, but i would an easy tool (such as the HbmBinder) to create the configuration programmatically.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 4:14 am 
Expert
Expert

Joined: Mon Jul 04, 2005 5:19 pm
Posts: 720
Care to elaborate?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 30, 2005 4:32 am 
Beginner
Beginner

Joined: Sun Apr 24, 2005 4:25 am
Posts: 28
There are maybe some "elements" defined in the database (dynamic). Objects that contains the same information like the mappings (also flattish).

Then i would instanciate this binder to create a dynamic mapping/configuration.

Maybe:

Code:
public static void addProperty(needed parameters);


Likewise the HbmBinder but not with a Node.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 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.