• 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: Snapshotting Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Snapshotting Question


  • Subject: Re: Snapshotting Question
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 14 Jan 2004 21:08:39 -0800

No.  It means that if something updates a different attribute but does
*not* update LastModDate that the update conflict will go undetected.

Chuck

At 10:58 PM 14/01/2004 -0600, james cicenia wrote:
>While reading the apple documentation someone pointed me to I found
>this quote:
>
>
>	 	SnapshottingWhen Enterprise Objects fetches data, it records the
>state of the fetched database row in a snapshot. The information in a
>snapshot is used to support Enterprise Objects optimistic locking
>mechanism. It is also used when changes are committed back to a data
>source to update only the attributes that were changed since the last
>fetch."
>
>I was thinking that I could just use LastModDate to tell me if a row
>has changed as thus modeled only that attribute for the optimistic
>lock flag. Does this mean that if someone edits a different text
>attribute that it won't get written to the database? Will only the
>LastModDate get updated in the generated SQL because is was flagged
>with the optimistic lock icon in EOModeler?
>
>Thanks
>James
>_______________________________________________
>webobjects-dev mailing list | email@hidden
>Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
>Do not post admin requests to the list. They will be ignored.
>

--

Chuck Hill                                 email@hidden
Global Village Consulting Inc.             http://www.global-village.net
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Snapshotting Question (From: james cicenia <email@hidden>)

  • Prev by Date: Re: WebObjects Containers
  • Next by Date: Re: WebObjects Containers
  • Previous by thread: Snapshotting Question
  • Next by thread: Re: WebObjects Containers
  • Index(es):
    • Date
    • Thread