Hi Michael,
 I have posted a fix against this issue and cannibalized your test cases.
Because the fix touches some critical part of the code, please verify the
latest fix on this problem if you have a wider/realistic test corpus on
various aspect of such 'partially null compound identity' problem.

  And let us know your observations, so that we can close/reopen this issue. 

Pinaki

Michael Vorburger-4 wrote:
> 
> OK thanks a lot.  I've just created
> https://issues.apache.org/jira/browse/OPENJPA-1397 for your tracking.
> 
> 
> -----Original Message-----
> From: Michael Dick [mailto:[email protected]] 
> Sent: Tuesday, November 17, 2009 7:11 PM
> To: [email protected]
> Subject: Re: NULL in @Id columns leads to "disappearing" objects
> 
> Hi Michael,
> 
> On Tue, Nov 17, 2009 at 2:45 AM, Michael Vorburger <
> [email protected]> wrote:
> 
>> Can we interpret No Answer on this one from anybody as a Not Support /
> 
>> Not Interested / Go away? ;-)
> 
> Interested, but in the middle of other things - will take a closer look
> when the day job permits me (sound fair)?
> 
>> If this cannot be supported (?), would it fair to suggest at least 
>> decent error handling for null values in @Id attributes?
> 
> Agree. At first glance I think we can support this, but haven't looked
> at it enough to really understand the problem.
> 
> 
>> Are any clarifications needed (c.f. initially attached unit test) ?
> 
> The unit test was very helpful. In my initial read I thought you meant a
> completely null ID, testcase set me straight there. No easy answer for
> you though..
> 
> -mike
> 
> ____________________________________________________________
> 
> • This email and any files transmitted with it are CONFIDENTIAL and
> intended
>   solely for the use of the individual or entity to which they are
> addressed.
> • Any unauthorized copying, disclosure, or distribution of the material
> within
>   this email is strictly forbidden.
> • Any views or opinions presented within this e-mail are solely those of
> the
>   author and do not necessarily represent those of Odyssey Financial
> Technologies SA unless otherwise specifically stated.
> • An electronic message is not binding on its sender. Any message
> referring to
>   a binding engagement must be confirmed in writing and duly signed.
> • If you have received this email in error, please notify the sender
> immediately
>   and delete the original.
> 
> 


-----
Pinaki 
-- 
View this message in context: 
http://n2.nabble.com/NULL-in-Id-columns-leads-to-disappearing-objects-tp3987873p4143632.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to