[
https://hibernate.onjira.com/browse/HHH-7206?page=com.atlassian.jira.plug...
]
Steve Ebersole edited comment on HHH-7206 at 4/2/12 12:17 PM:
--------------------------------------------------------------
Another issue here is that the propsed change is updating the second level cache very
prematurely. Basically it is "bleeding" un-written and un-committed changes
from the session into the second level cache for other sessions to see.
was (Author: steve):
Another issue here is that the propsed change is locking the second level cache very
prematurely.
Manage natural-id synchronization without flushing
--------------------------------------------------
Key: HHH-7206
URL:
https://hibernate.onjira.com/browse/HHH-7206
Project: Hibernate ORM
Issue Type: Improvement
Components: core
Affects Versions: 4.1.1
Environment: Hibernate4, database-independent
Reporter: Guenther Demetz
Labels: flush, naturalId
With few code changes I think it is possible to make NaturalIdLoadAccess work with no
need to rely on flush at all,
please see following comments.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira