cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: How to generate the "PK Property" for data object ?
Date Mon, 10 May 2010 07:00:14 GMT
This is about changing a PK value of a previously committed object.  
You shouldn't be doing that anyways, so generally this should not be  
an issue.

Andrus

On May 10, 2010, at 9:55 AM, Jin Xu wrote:

> Thank you very much ! ! ! !
>
> But i have an other question:
>
> *Be Careful*
> If you alter a record's primary key value and other records  
> reference that
> value, you need to ensure those other records pick up the change to  
> the key,
> too.
> Please give me a example of how to implement it ?


Mime
View raw message