On 2010-07-13, at 1:41 PM, Theodore Petrosky wrote: > I need a qualifier that gets a primary key... > > is the primary key accessible in a qualifier like this? > > versionQual = Version.JOB.dot(Job.<primaryKey()>).eq(something); > > My primary key is the Job Number....
In dataflex and cobol times, PK were used in query's where clause. Today PK is left for DB to manage relationships internally. You should look into modify the Model and add a job number column. This will give you to benefits. One you don't need to worry about the PK, second, if your original record is deleted and you need to have the same code again, in EOF it won't be that easy from the front-end as it uses sequences. There are other benefits too but I don't remember yet :) Farrukh > > Ted > > > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/webobjects-dev/farrukh.ijaz%40fuegodigitalmedia.com > > This email sent to [email protected] _______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
