Next, I ran my application to test my component. Before
doing this, I checked the current state of my database and Component Services
Transaction Statistics:
Figure 5
Figure 6
I ran my application and gave valid values (1 for ID and 5
for value) to it. The result was normal in the database, but look at the Transaction
Statistics.
Figure 7
Figure 8
S now I provide an invalid value, say 11, for my application
to throw an exception in my Atomic transaction. Nothing will change in the
database, but the Transaction Statistics show an Aborted transaction. The
normal form database must be updated because the value must be added to the database
before exception.
Figure 9
Figure 10