-->
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: hibernate.cfg.xml & SessionFactory are in separate jar f
PostPosted: Fri Aug 11, 2006 2:40 pm 
Beginner
Beginner

Joined: Fri Feb 04, 2005 2:44 pm
Posts: 25
Location: Buffalo, NY
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 used in an application server).

TIA.


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.