Re: multi user increment
Re: multi user increment
- Subject: Re: multi user increment
- From: Patrick Middleton <email@hidden>
- Date: Mon, 6 Feb 2006 14:43:29 +0000
On 6 Feb 2006, at 14:27, Gino Pacitti wrote:
Hi All
Any thoughts on how to address this problem
I have a multi instance app that connects to a single data store.
For any user, across the instances, I need to increment a numerical
value newly for each new registered user.
This then has to be saved back to the data store and for there to
be no conflicts with similar values for new registrants...
Any ideas or have I missed something easy here..
It is possible to use the EOF primary key generation support
creatively to generate things that aren't primary keys.
http://developer.apple.com/documentation/WebObjects/Reference/API/com/
webobjects/eoaccess/EOAdaptorChannel.html
EOAdaqptorChannel.primaryKeysForNewRowsWithEntity(int count, EOEntity
entity)
-- Patrick
_______________________________________________
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