Aug 16th, 2005, 06:54 PM
I am writing a BaseDatabaseTestCase that extends AbstractTransactionalDataSourceSpringContextTests and I want a method that will populate the database outside of the transaction. I will only run the code the first time the method is run (using a static instance variable to track if it has been populated yet).
I see there is an onSetUpInTransaction(), but I need a way to call the method outside of the transaction. Where would be the best place to put that code?