[jboss-user] [JBoss jBPM] - Re: JBPM(BPEL) conflicts (hibernate settings) with my app.
cocampo
do-not-reply at jboss.com
Mon Nov 13 12:02:03 EST 2006
This is not a jBPM question, but an Hibernate question; wrong forum...
However, here is the answer:
| import org.hibernate.Session;
| import org.hibernate.cfg.Configuration;
| ...
|
| Configuration configuration = new Configuration();
| configuration.configure("anotherDB.cfg.xml");
| SessionFactory sessionFactory = configuration.buildSessionFactory();
|
For more info, read your Hibernate docs (section 3.8).
Regards.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985522#3985522
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985522
More information about the jboss-user
mailing list