(articlenumber) is already unique. So what is the point of
(articlenumber,cartonId)?
Your description and proposed fix of HHH-7113 all centered around
choosing the "right persister" to use for cache keys, so I naturally
assumed the problem was due to the unsupported way you were defining the
natural ids. If the bug exists even with correctly defined natural ids
then we will get it fixed.
I don't understand what you are getting at with your (2). Caching
should be using the root persister of the hierarchy for cache keys. But
if you feel there is a bug, open a JIRA *with a test case*.
Thanks
On 03/01/2012 04:09 AM, Demetz, Guenther wrote:
>> I will open regarding issue with testcase asap.
Opened
https://hibernate.onjira.com/browse/HHH-7133
regards
G.Demetz
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
steve(a)hibernate.org
http://hibernate.org