Yevgeny Zaspitsky has posted comments on this change.

Change subject: core: Add JPA Java infrastructure
......................................................................


Patch Set 68:

I'm wondering if we should care of flushing. As long as we're in the mixed mode 
(JPA&JDBC), we might be in the following scenario:
1. Update an entity through JPA.
2. Run a query on a JDBC entity that joins with the JPA managed table.
3. The JPA managed entity might not be flushed yet, so the query result will be 
wrong.
On the other side always flushing is very inefficient.

Flushing mode could be configured on EntityManager level and could be 
overridden on a particular query.
I'm looking if that could be set on an entity level. So those "problematic" 
entities would be defined and the problem would be addressed in a less drastic 
way than always flashing.

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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ide82bf8cc647426e37dc42a113867c52699c3f0b
Gerrit-PatchSet: 68
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <lzel...@redhat.com>
Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Liran Zelkha <lzel...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <wallaroo1...@gmail.com>
Gerrit-Reviewer: Yevgeny Zaspitsky <yzasp...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: No
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to