Change in ovirt-engine[master]: dal: Always return JDBC connection to pool in cluster dao

masayag at redhat.com masayag at redhat.com
Thu Mar 3 13:04:53 UTC 2016


Moti Asayag has submitted this change and it was merged.

Change subject: dal: Always return JDBC connection to pool in cluster dao
......................................................................


dal: Always return JDBC connection to pool in cluster dao

Return the JDBC connection to the pool immediately in case of an
exception in ClusterDaoImpl.

Change-Id: Iad5f255f30900568b99d398087e83b69ed8957cb
Signed-off-by: Roman Mohr <rmohr at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/ClusterDaoImpl.java
M backend/manager/modules/dal/src/test/java/org/ovirt/engine/core/dao/ClusterDaoTest.java
2 files changed, 4 insertions(+), 17 deletions(-)

Approvals:
  Martin Peřina: Looks good to me, but someone else must approve
  Roman Mohr: Verified
  Jenkins CI: Passed CI tests
  Moti Asayag: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/53323
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iad5f255f30900568b99d398087e83b69ed8957cb
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list