This is absolutely correct behavior. SessionFactoryObjectFactory is meant to return already-bound session factories.

John J. Allison wrote:

Poking around, I noticed that SessionFactoryObjectFactory never
actually creates a SessionFactory. When getObjectInstance() is
called, that's what Tomcat expects - for a SessionFactory instance
to be created.




--
Gavin King
+61 410534454

Hibernate
[EMAIL PROTECTED]
http://hibernate.org

JBoss Inc
[EMAIL PROTECTED]
http://jboss.com



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to