Ajout try/catch et commit/rollback