Change in ovirt-engine[master]: core: Add ability to call plsql function with different mappers

emesika at redhat.com emesika at redhat.com
Thu Mar 6 13:18:10 UTC 2014


Eli Mesika has submitted this change and it was merged.

Change subject: core: Add ability to call plsql function with different mappers
......................................................................


core: Add ability to call plsql function with different mappers

We are calling GetTagVmByTagIdAndByvmId
plsql function in getTagTemplateByTagIdAndByTemplateId
and getTagVmByTagIdAndByVmId with different row mappers.

This patch sets the rowmapper in the SimpleJdbcCall
which is saved in the map by function name

Change-Id: I003e2b054db3eb406984fd39b59a346c7fd85492
Signed-off-by: Ravi Nori <rnori at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/SimpleJdbcCallsHandler.java
1 file changed, 15 insertions(+), 5 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved
  Ravi Nori: Verified
  Yair Zaslavsky: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/25437
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I003e2b054db3eb406984fd39b59a346c7fd85492
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list