Re: How to generate the "PK Property" for data object ?

2010-05-09 Thread Jin Xu
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 ?

Re: How to generate the "PK Property" for data object ?

2010-05-09 Thread Andrus Adamchik
(A note to self - need to move this page in the Modeler Guide) On May 10, 2010, at 9:33 AM, Andrey Razumovsky wrote: Hi, See https://cwiki.apache.org/CAY/mapping-primary-keys.html 2010/5/10 Jin Xu Hello, friend: I`m a newer of Cayenne, i have a question: How to generate the "PK Pro

Re: How to generate the "PK Property" for data object ?

2010-05-09 Thread Andrey Razumovsky
Hi, See https://cwiki.apache.org/CAY/mapping-primary-keys.html 2010/5/10 Jin Xu > Hello, friend: >I`m a newer of Cayenne, i have a question: >How to generate the "PK Property" for the data object when use > CayenneModeler to generate code (e.g. a property for the "id" column of a >

How to generate the "PK Property" for data object ?

2010-05-09 Thread Jin Xu
Hello, friend: I`m a newer of Cayenne, i have a question: How to generate the "PK Property" for the data object when use CayenneModeler to generate code (e.g. a property for the "id" column of a table) , please ? -- We are the best ! ! ! !