• 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: Big Decimal as optimistic lock attribute?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Big Decimal as optimistic lock attribute?


  • Subject: Re: Big Decimal as optimistic lock attribute?
  • From: Ray Kiddy <email@hidden>
  • Date: Wed, 9 Dec 2009 10:23:08 -0800


On Dec 9, 2009, at 8:43 AM, Kieran Kelleher wrote:

Am I dreaming in thinking that I saw a discussion at some time in the past that there is some flaw with using BigDecimals as reliable* optimistic locking attributes? ..... or was that just NSTimestamps and float/double type values? ..... Google is not helping me to find the answer. Anyone recollect the situation with BigDecimal reliability as optimistic locking attributes?

Regards, Kieran

*reliable = works 100% of the time
_______________________________________________

I think the issue you are remembering had to do with problems that one database was happening, which might have been OpenBase, when there was a difference in the valueType setting of the things being compared. I could see mis-set valueTypes causing weirdness.


We might want to have tests which check the effect of various valueTypes on attributes, when using the various adaptors, and whether they would cause breakage.

- ray

_______________________________________________
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: 
 >Big Decimal as optimistic lock attribute? (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: Big Decimal as optimistic lock attribute?
  • Next by Date: Re: Big Decimal as optimistic lock attribute?
  • Previous by thread: Re: Big Decimal as optimistic lock attribute?
  • Next by thread: Duplicate pointers in NSArray returned by toMany relationship
  • Index(es):
    • Date
    • Thread