Can anyone explain this .... I am testing for a failure condition in a web application using hibernate and DB2 iseries as the database. The test involves ending the journal on a table testing the app to catch errors and then journalling the table and running tests for success conditions.
All transactions are PROPAGATION_REQUIRES_NEW (Spring transaction proxy). However, after I start journalling the tables the error condition still persists i.e. I get a SQL exception error 7008 (describing that the table is not ready). The journalled status of the table is recognized only after I restart the application server.
I am using the server based connection pooling.
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad: