• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: find EO's PK without side-effects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >find EO's PK without side-effects? (From: OCsite via Webobjects-dev <email@hidden>)

  • Prev by Date: find EO's PK without side-effects?
  • Next by Date: Solved: awake-time long lags
  • Previous by thread: find EO's PK without side-effects?
  • Next by thread: weird locks in faultWithPrimaryKeyValue
  • Index(es):
    • Date
    • Thread