-
Aug 16th, 2005, 06:54 PM
#1
AbstractTransactionalDataSourceSpringContextTests onSetUp
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?
Michael.[/code]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules