db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Craig L Russell <Craig.Russ...@Sun.COM>
Subject Re: Bidirectional relationship tests in the TCK
Date Sat, 07 Jun 2008 00:11:38 GMT
Hi Jörg,

On Jun 6, 2008, at 10:30 AM, Joerg von Frantzius wrote:

> Sorry for not having had any time to look into this more thoroughly  
> yet. I'll hopefully find it next week.
>
> I think I experienced problems with changing bidirectional  
> relationships on detached objects. Now I'm not sure whether the spec  
> intended those to be managed as well?

Sure, any change to a persistent field of a detached object should be  
reflected in the database upon reconnection and commit.

If you can write a test case, we'd be happy to consider adding it to  
the TCK.

Craig
>
>
> Craig L Russell schrieb:
>> HI Jörg,
>>
>> On May 27, 2008, at 9:51 AM, Joerg von Frantzius wrote:
>>
>>> Hi,
>>>
>>> when looking at the relationship tests in  
>>> org.apache.jdo.tck.mapping, it seems that the tests for  
>>> bidirectional integrity only test changing relationships from the  
>>> "mapped-by" side of the relationship? That's my impression at  
>>> least from looking at the method names e.g. in  
>>> Relationship1ToManyAllRelationships.java.
>>
>> There are a few relationship tests, and the intent was (is) to test  
>> changing relationships from both sides.
>>
>> If you can't find what you're looking for (in all the tests) please  
>> let us know.
>>
>> Craig
>>>
>>>
>>> I'm asking this because I believe to see inconsistencies with  
>>> bidirectional relationships in the RI.
>>>
>>> Regards,
>>> Jörg
>>>
>>> -- 
>>> ____________________________________________________________________
>>> artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
>>> Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
>>> Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 UST- 
>>> Id. DE 217652550
>>>
>>
>> Craig Russell
>> Architect, Sun Java Enterprise System http://java.sun.com/products/ 
>> jdo
>> 408 276-5638 mailto:Craig.Russell@sun.com
>> P.S. A good JDO? O, Gasp!
>>
>
>
> -- 
> ____________________________________________________________________
> artnology GmbH - Milastraße 4 - 10437 Berlin - Germany
> Geschäftsführer: Ekkehard Blome (CEO), Felix Kuschnick (CCO)
> Registergericht: Amtsgericht Berlin Charlottenburg HRB 76376 UST-Id.  
> DE 217652550
>

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:Craig.Russell@sun.com
P.S. A good JDO? O, Gasp!


Mime
View raw message