users@glassfish.java.net

Re: Transaction rollback does not rollback all database updates

From: <glassfish_at_javadesktop.org>
Date: Sat, 08 Dec 2007 02:35:12 PST

I could see the app. working fine. Querying the table thro' an sql-editor shows there are no rows.

-----------------------------------------------------------------------------------------------------------------------
The returned data is:


In preRunTest
The delete SQL statement execution for test SampleTest succeeded.
Result from the delete SQL statement for test SampleTest is 0.


In runTest
The insert SQL statement execution for test SampleTest succeeded.
Result from the insert SQL statement for test SampleTest is 1.
The insert SQL statement execution for test SampleTest succeeded.
Result from the insert SQL statement for test SampleTest is 1.
The insert SQL statement execution for test SampleTest succeeded.
Result from the insert SQL statement for test SampleTest is 1.
ROLLBACK REQUESTED!!


In postRunTest
The delete SQL statement execution for test SampleTest succeeded.
Result from the delete SQL statement for test SampleTest is 0.
--------------------------------------------------------------------------------------------------------
[Message sent by forum member 'jr158900' (jr158900)]

http://forums.java.net/jive/thread.jspa?messageID=249178