Moti Asayag has posted comments on this change.

Change subject: core: using JPA for engine backup awareness
......................................................................


Patch Set 4:

(1 comment)

https://gerrit.ovirt.org/#/c/40091/4/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/EngineBackupLog.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/EngineBackupLog.java:

Line 96: && this.passed == other.passed
       :                 && Objects.equals(outputMessage, other.outputMessage)
> 1. No problem to use getters instead if tha is the right thing to do
I don't think anything should be done specifically in regards to 2 within this 
patch.

IIUC JPA doesn't rely on the equals() to identify a field, instead it should 
rely on EngineBackupLogId and the relevant fields annotated with @Id.

Yevgeny, am I wrong ? In addition, if we'd like to take a project-wide change 
to be applicable in any entities class - we should communicate it to 
[email protected].


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ia0aa9c4d0c8c0a5f7b40a022d7670f30c5fd5b77
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: Yevgeny Zaspitsky <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to