[hibernate-dev] Natural ids and inheritance

Steve Ebersole steve at hibernate.org
Thu Mar 1 11:03:37 EST 2012


Cool, I will look this afternoon.

On Thu 01 Mar 2012 09:21:17 AM CST, Demetz, Guenther wrote:
> 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 at lists.jboss.org [mailto:hibernate-dev-bounces at lists.jboss.org] On Behalf Of Steve Ebersole
> Sent: Thursday, March 01, 2012 1:16 PM
> To: hibernate-dev at 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 at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>> --
>> steve at hibernate.org
>> http://hibernate.org
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev

-- 
steve at hibernate.org
http://hibernate.org



More information about the hibernate-dev mailing list