• 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
quick question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

quick question


  • Subject: quick question
  • From: Michael DeMan <email@hidden>
  • Date: Mon, 20 Feb 2006 14:41:26 -0800

Does anybody know if:

validateForSave() calls validateForInsert() if an object is not in the database yet?

I need to do some transaction oriented stuff and want to validate all my object fields so I know its okay, execute a transaction on a 3rd party system, then insert/save my object.

I was thinking that calling validateForSave() before my 3rd party transaction would work, but it seems to be calling validateForInsert() somewhere.

I'm not 100% sure if it is, and if it is, whether that is the correct behavior or whether I have some custom validation code that is causing it to do that.


- mike



Michael DeMan


 _______________________________________________
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: quick question
      • From: "Jerry W. Walker" <email@hidden>
    • Re: quick question
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: WebObjects licensing still unclear / XCode 2.1 no longer available ?
  • Next by Date: Re: EOModeler code generation
  • Previous by thread: Re: PostgreSQL vs MySQL for Blobs
  • Next by thread: Re: quick question
  • Index(es):
    • Date
    • Thread