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 > <webobjects-dev@lists.apple.com>: > > 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 (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/maik%40selbstdenker.ag > > This email sent to m...@selbstdenker.ag
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com