-
Couldn't load subscription status.
- Fork 34
Interface DatabaseConnectionFactory
Florian edited this page Jul 2, 2014
·
4 revisions
This interface must be implemented if the DefaultDatabaseConnectionFactory fit not for own uses.
This implementation must be part of the application context that are used inside the ContextConfiguration.
A example can be found
- a [example application context] (https://github.com/flyway/flyway-test-extensions/blob/master/flyway-test-extensions/flyway-test-samples/flyway-test-dbunit-samples/flyway-test-sample-dbunit/src/test/resources/context/dbunit_connection_applicationContext.xml)
- a example implementation of connection factory TestDatabaseConnectionFactory
- usage inside a test case SpringDBunitConnectionFactoryTest