Liron Ar has posted comments on this change.

Change subject: core: GetAllDisksByVmIdQuery - improved performance and avoid 
NPE
......................................................................


Patch Set 1:

(1 comment)

....................................................
File 
backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/VmDeviceDAODbFacadeImpl.java
Line 150:             
vmDevice.setSpecParams(SerializationFactory.getDeserializer()
Line 151:                     
.deserializeOrCreateNew(rs.getString("spec_params"), HashMap.class));
Line 152:             vmDevice.setIsManaged(rs.getBoolean("is_managed"));
Line 153:             // note - those columns are being used also in 
DiskRowMapper, therefore any related
Line 154:             // change should be done there as well.
I'll fix the comment here DiskRowMapper = DiskVmRowMapper
Line 155:             vmDevice.setIsPlugged(rs.getBoolean("is_plugged"));
Line 156:             vmDevice.setIsReadOnly(rs.getBoolean("is_readonly"));
Line 157:             vmDevice.setAlias(rs.getString("alias"));
Line 158:             
vmDevice.setCustomProperties(SerializationFactory.getDeserializer()


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I91d12ee535563204b5d6aaeb64ec6a7c23ea1a81
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Ar <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to