Martin Peřina has posted comments on this change.

Change subject: core: Add JPA UserTypes
......................................................................


Patch Set 6:

Do we really need UserType for enums? From my previous experience mapping enum 
using custom unique id was good solution. For details please a look at [1] and 
solution 4. at [2]

[1] 
http://blog.chris-ritchie.com/2013/09/mapping-enums-with-fixed-id-in-jpa.html
[2] http://stackoverflow.com/a/18646470

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

Gerrit-MessageType: comment
Gerrit-Change-Id: I30f76493ec72e3c2540e43bef2c095a7ed1c38aa
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Liran Zelkha <[email protected]>
Gerrit-Reviewer: Martin Peřina <[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-HasComments: No
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to