• 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: Chuck Hill <email@hidden>
  • Date: Wed, 9 Dec 2009 08:53:57 -0800

BigDecimal should be fine.  double and float are too imprecise.


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

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
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: Big Decimal as optimistic lock attribute?
  • Next by Date: Re: Big Decimal as optimistic lock attribute?
  • Previous by thread: Big Decimal as optimistic lock attribute?
  • Next by thread: Re: Big Decimal as optimistic lock attribute?
  • Index(es):
    • Date
    • Thread