-->
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: Can one configure
PostPosted: Thu Aug 10, 2006 2:03 am 
Newbie

Joined: Thu Aug 10, 2006 1:50 am
Posts: 8
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version: 3.1

Is there any way to reconfigure a SessionFactory after it has been created off a configuration? I have an issue where I am using a third party library that leverages hibernate, and I have a project which depends on this third party library, and my project also uses hibernate. If that were all, then no problem, I would just create my own hibernate.cfg.xml file and load my own hibernate mappings and create my own SessionFactory. The problem is that I need my hibernate mappings to interact with the third party library's mappings, so I'm faced with either having to intermingle my custom hibernate mappings with the third party library implementation (not desirable), or figuring out how to leverage the third party library hibernate implementation while maintaining a separate hibernate SessionFactory.

Any advice for how to properly handle this scenario?

Thanks,

Brad


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.