If you name your bean "sessionFactory" and load it after AppFuse's -
it should override it.
Another option is to use the HibernateExtensionPostProcessor:
http://static.appfuse.org/appfuse-data/appfuse-hibernate/apidocs/org/appfuse/dao/spring/HibernateExtensionPostProcessor.html
HTH,
Matt
On Feb 8, 2008, at 7:56 PM, [EMAIL PROTECTED] wrote:
I have updated applicationContext-dao.xml to use a different Hibernate
session factory (see
http://www.nabble.com/How-to-get-authentication-info-into-a-Spring-bean---Hibernate-interceptor-td15247474s2369.html)
.
All works fine except when I run the standard test cases. It looks
like the
Tomcat test cases use a vanilla applicationContext-dao.xml file from
the
appfuse-hibernate-2.0.1.jar.
Is there a way to override this file, short of sucking the source for
appfuse-hibernate-2.0.1.jar into my project?
Thanks - Richard
--
View this message in context:
http://www.nabble.com/How-to-override-applicationContext-dao.xml-for-test-cases-tp15367970s2369p15367970.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]