Re: depPk

2012-11-25 Thread Andrus Adamchik
On Nov 24, 2012, at 4:52 PM, emeka okafor emeka_1...@yahoo.com wrote: hello, I have two questions: 1 - What does toDependentPK means? In case of 2 tables having a relationship between PK columns on both sides, it instructs Cayenne on which side of the relationship a PK should be generated

depPk

2012-11-24 Thread emeka okafor
hello, I have two questions: 1 - What does toDependentPK means? 2 - I would like to use a column of type String as PK. What primary key strategy should I use since I am going to set that key in my application? Thx.

Re: depPk

2012-11-24 Thread emeka okafor
It seems toDependentPk has to do with mandatory inverse relationship. I will keep on writing some tests. From: emeka okafor emeka_1...@yahoo.com To: user@cayenne.apache.org user@cayenne.apache.org Sent: Saturday, November 24, 2012 2:52 PM Subject: depPk hello