Hi Thomas. If you don’t use the attribute for locking, EOF won't use it when locating the row for an update/delete. To disable locking on the attribute click the button with the little lock on it in the attribute’s settings.
- hugi > On 9. jún. 2015, at 10:57, Thomas LATTER <[email protected]> wrote: > > > Hi, > > In one of my Oracle tables I've got a virtual column. In my EOModel I had to > set this field as Read-Only in order to do an Insert in this table. Otherwise > the generated SQL included this field and an Oracle error occured. > > My problem now is to edit/update a row in this table because even with this > field as Read-Only in the EOModel the generated SQl includes this field in > the 'Where' clause of it's 'UPDATE' query. > > Is there a certain way to set this field in the EOModel for it not to be > included in the sql for an edit/update? Or should I just use rawrows? > > Thanks in advance, > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/hugi%40karlmenn.is > > 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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
