sessionfactory « Jar « JPA Q&A





1. hibernate.cfg.xml & SessionFactory are in separate jar f    forum.hibernate.org

Hello I have a reusable class MySessionFactory that is a wrapper around SessionFactory. It is in A.jar. Then the hibernate.cfg.xml file and the business classes are in B.jar. Obvously B.jar includes A.jar in it's classpath. I am having trouble with the configure method. What can I do? I'd like to configure with an InputStream. The program is a standalone program (not ...