[
https://hibernate.onjira.com/browse/HHH-7206?page=com.atlassian.jira.plug...
]
Steve Ebersole commented on HHH-7206:
-------------------------------------
I went ahead and pushed this with the code to track "no longer valid" natural id
resolutions. It clears them after flush.
Longer term it might be nice to let the developer control whether this code is used or
whether to write the values to the db. Either via {{FlushMode}} or through a new
{{NaturalIdLoadAccess}}/{{SimpleNaturalIdLoadAccess}} method.
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
Assignee: Steve Ebersole
Labels: flush, naturalId
Fix For: 4.1.2
Time Spent: 12h 46m
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