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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to