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 (or provided by user) - "master side", and on which side it should be taken from the master - "dependent side". > 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? User-provided PK is compatible with all strategies. So keeping it default should be fine. Andrus