If saveAuth is okay, but suddenly the power fails, and updateCustomerAuth
can't proceed, the database is in an inconsistent state.
I tried to use foreign key constraint with a cascade update,
and don't know if that works.
Any opinion?
Thanks
Jack
E Armitage wrote:You should use transactions: http://docs.oracle.com/javase/tutorial/jdbc/basics/transactions.html