I've implemented this with raw SQL; I could not find an easier way.
In particular, I could not find any manner in which WO helped with
this use case. If you happen to be using MySQL, the last_insert_id()
function is your friend. If Oracle, use the "returns" sql.
On Aug 16, 2007, at 2:53 PM, Chuck Hill wrote:
I recall someone making something that did this, but now I can't
find it. I don't even recall how it worked. What it did was
allow WO to update an attribute of a entity using bar = bar + 1
instead of bar = 7 so that updates from multiple sources would not
step on each other.
Does this sound familiar to anyone?
Thanks!
Chuck
--
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/cawineguy%
40gmail.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]