Hi I have a technical issue which I hope can be resolved without too much grief. My system looks like:
Solaris 8/SPARC j2sdk1.4.1_07 JBoss 4.0.1 SOFIA 2.3 Hibernate 2.18 Basically, I've set up an Oracle datasource in JBoss, which works perfectly. I've created a .har file with a hibernate-service.xml file and deployed it with my Hibernate classes, this is also fine. My problem is that SOFIA wants to configure hibernate with a hibernate.cfg.xml file (which I'm not using, I'd rather use the hibernate-service.xml style), OR a SessionFactory class. I was hoping I could use org.jboss.hibernate.session.HibernateContext as that class, but that did not work (ClassCastException). My question is - is there a JBoss class I should be using as a SessionFactory class instead? I've been looking through the javadocs and can't seem to find anything. The problem is that the JBoss + Hibernate style I'd like to use only has a JNDI session factory name available for configuration, which SOFIA doesn't know about or recognize. I could modify the SOFIA source to change this behaviour, but that's really a last resort. Am I missing something obvious here, or am I expecting too much? Has anyone been able to get JBoss + Hibernate/har file + SOFIA working? Thanks in advance, Colin Payne Developer Calgary, AB, Canada View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878268#3878268 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878268 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user