The BaseDaoTestCase in AppFuse extends AbstractTransactionalDataSourceSpringContextTests - which rolls back the transaction when the test method executes. If you'd like to change this behavior, simply call setComplete() (I think) in your code.
http://www.springframework.org/docs/api/org/springframework/test/AbstractTransactionalDataSourceSpringContextTests.html Hope this helps, Matt On 1/25/07, romsrini <[EMAIL PROTECTED]> wrote:
I tried the Using Hibernate tutorial for AppFuse 2.0 and the tests passed. But the passing tests were really a false positive, as I commented out the remove Person part of the test and noticed that the Person info hadn't really been persisted into the database. Is this intentional? I mean , is there something else I have to do to persist the objects into the database or is this a problem with the tutorial? Thanks in advance, Rom -- View this message in context: http://www.nabble.com/Problem-with-%27Using-Hibernate%2C-AppFuse-2.0%27-tutorial--tf3120213s2369.html#a8644669 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
