• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Virtual Column equivalent in EOModel ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Virtual Column equivalent in EOModel ?


  • Subject: Re: Virtual Column equivalent in EOModel ?
  • From: Hugi Thordarson <email@hidden>
  • Date: Tue, 09 Jun 2015 11:04:05 +0000

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@hidden> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
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


References: 
 >Virtual Column equivalent in EOModel ? (From: Thomas LATTER <email@hidden>)

  • Prev by Date: Virtual Column equivalent in EOModel ?
  • Next by Date: Custom Mime-Types & ERAttachment
  • Previous by thread: Virtual Column equivalent in EOModel ?
  • Next by thread: Custom Mime-Types & ERAttachment
  • Index(es):
    • Date
    • Thread