Hi,
I have a Stateless Session bean that:
1) Deletes all data from a particular table
2) Sets new data based on what it was given.
In order to test the rollback functionality, I throw a Runtime Exception after
the delete, but before the insert. The database rolls back fine, and the data is
all there, but when I run the test program again, I get no data. If I shut down
jboss and run the application again, all the data is there.
There is a bug (#150) that seems to address this problem, but the solution in
the comments is "Works with the rewired container and JTA stuff". I'm not sure
what that entails. I am running jboss 2.0. Do I have to include any patches etc?
Any help greatly appreciated.
Thanks,
- Ashish