Re: find EO's PK without side-effects?
Re: find EO's PK without side-effects?
- Subject: Re: find EO's PK without side-effects?
- From: Maik Musall via Webobjects-dev <email@hidden>
- Date: Tue, 6 Aug 2024 17:10:52 +0200
Hi,
ERXGenericRecord has a primaryKey() method (which maps to
ERXEOControlUtilities.primaryKeyStringForObject(this)).
Maik
> Am 05.08.2024 um 13:37 schrieb OCsite via Webobjects-dev
> <email@hidden>:
>
> Hi there,
>
> can I somehow get a PK of an EO without uglies like locking its EC and so
> forth?
>
> Naïvely I thought that this specific information should be readily available
> somewhere simply by reading from memory without any other ado (even for a
> fault, not speaking of an in-memory EO), but self-evidently I was wrong;
> lately I was bitten in tender parts by rawPrimaryKey auto-locking EC.
>
> Thanks,
> OC
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden