Enforcing uniqueness of data
Enforcing uniqueness of data
- Subject: Enforcing uniqueness of data
- From: Daniel Eggert <email@hidden>
- Date: Wed, 7 Sep 2005 19:00:35 +0200
I need the login of my user EO to be unique. Since the login is
something the user enters, it is not the PK.
How would I go about ensuring this? If I fetch from the database and
then write if it is unique, someone might be able to write to the
database in the meantime.
This post
<http://lists.apple.com/archives/webobjects-dev/2004/Jun/
msg00249.html>
suggests locking. Is it a sane approach? How would I do such a thing
with EOF?
Thanks in advance.
/Daniel
_______________________________________________
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