Re: Big Decimal as optimistic lock attribute?
Re: Big Decimal as optimistic lock attribute?
- Subject: Re: Big Decimal as optimistic lock attribute?
- From: Kieran Kelleher <email@hidden>
- Date: Wed, 9 Dec 2009 12:05:40 -0500
Great, then I was dreaming that I read that somewhere! :-) Maybe I was
thinking that it was something to do with the BigDecimal.toString
scientific notation change in java 1.5 (IIRC).
-Kieran
On Dec 9, 2009, at 11:56 AM, David Avendasora wrote:
I use BigDecimal all the time as a locking attribute and haven't
ever had any issue with it.
Dave
On Dec 9, 2009, at 11: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
David Avendasora
Senior Software Engineer
K12, Inc.
*****
WebObjects Documentation Wiki : http://wiki.objectstyle.org/confluence/display/WO/
*****
WebObjects API: http://developer.apple.com/legacy/mac/library/documentation/MacOSXServer/Reference/WO54_Reference/index.html
*****
_______________________________________________
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