Hi Steve,
I opened HHH-7133, please take a look at that.
It shows (Testcase is attached) that there are bugs even when correctly defining natural
ids.
regards
Günther Demetz
-----Original Message-----
From: hibernate-dev-bounces(a)lists.jboss.org [mailto:hibernate-dev-bounces@lists.jboss.org]
On Behalf Of Steve Ebersole
Sent: Thursday, March 01, 2012 1:16 PM
To: hibernate-dev(a)lists.jboss.org
Subject: Re: [hibernate-dev] Natural ids and inheritance
(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 _______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev