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