what are the consequences of not using the con.rollBack if some exception
Assume your update() method is successful and an exception occurr in updatex() method. Now if you don't rollback your transaction,the data will remain in same state changed by update() method until commit or rollaback.
If same time any other method want to perform any operation on same row changed by update() method then it will get error.
Gravitation cannot be held responsible for people falling in love ~ Albert Einstein