Hi,
After attempting a POC (sample java class, using Hibernate and the DB2/400 database), discovered that
1. With NO journaling – Database operations failed.
2. With Only AFTER image Journaling – database operation were successfully executed.
3. With BOTH image journaling - database operation were successfully executed.
4. With Only BEFORE image journaling – Not possible as DB2 does not support only BEFORE image.
But in the POC, only tried a 1-to-1 mapped table and attempted inserting into both tables.
On purpose, inserted data, to force a SQL-Exception .... the complete transaction was rolled back
So I guess CONSISTENCY was maintained.
How to check the "I" of ACID - I mean ISOLATION?
Also it does not tell me, if ONLY after-image journaling is sufficient..... please help
~g1