• 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: Same value with different precision causes database updates
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Same value with different precision causes database updates


  • Subject: Re: Same value with different precision causes database updates
  • From: John Huss <email@hidden>
  • Date: Tue, 16 Jul 2013 18:50:50 -0500

I would just override takeStoredValueForKey in your EOs base class, or change the setters for these fields in your EO template.

On Tuesday, July 16, 2013, Henrique Prange wrote:
Hi all,

Is there a general way to make EOF use the compareTo method for BigDecimals instead of equals? I'm having problems with a property of precision 10. Because of the way the value is formatted, EOF always trigger an update even though the values are the same (and not changed by anyone).

Cheers,

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

  • Follow-Ups:
    • Re: Same value with different precision causes database updates
      • From: Henrique Prange <email@hidden>
References: 
 >Same value with different precision causes database updates (From: Henrique Prange <email@hidden>)

  • Prev by Date: Same value with different precision causes database updates
  • Next by Date: Re: Same value with different precision causes database updates
  • Previous by thread: Same value with different precision causes database updates
  • Next by thread: Re: Same value with different precision causes database updates
  • Index(es):
    • Date
    • Thread