Is the column used for locking in the model? Try excluding that column from the 
column used for locking.


Larry Mills-Gahl
[email protected]






> On Jun 9, 2015, at 6:57 AM, 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/elemgee%40gmail.com
> 
> This email sent to [email protected]

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

 _______________________________________________
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]

Reply via email to