PK uniqueness
PK uniqueness
- Subject: PK uniqueness
- From: OCsite via Webobjects-dev <email@hidden>
- Date: Mon, 15 Sep 2025 17:09:34 +0200
Hi there,
presumed I use integer PKs and don't ever assign them myself, leaving it on
EOF, can I rely on that never a newly created EO would get same PK as used to
have one deleted previously? Or is there some rare scenario when this may
happen?
I need to store some information for EOs (which would be very rarely deleted,
but occasionally it might happen) in a map whose keys would be the PKs (the map
itself persists archived in a BLOB of another EO). I wonder whether I have to
observe deletions and update these maps accordingly, or whether I can afford to
simply keep PKs and information for deleted EOs in there without any real harm.
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