Re: Big Decimal as optimistic lock attribute?
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