• 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: Setting Default Values EOModeler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Default Values EOModeler


  • Subject: Re: Setting Default Values EOModeler
  • From: Sacha Mallais <email@hidden>
  • Date: Fri, 29 Jul 2005 16:50:06 -0700

On Jul 29, 2005, at 4:48 PM, Sacha Mallais wrote:

On Jul 29, 2005, at 4:38 PM, Jonathan Miller wrote:

Is there any way to set up a default values in EOModeler?

No. Default values are generally set in awakeFromFetch(). I would avoid using any database-level default mechanism, just so that you don't have to deal with data freshness as much.



I'm using an Oracle DB and I have a table with CLOB fields, so I need to be able to say field_clob = empty_clob(); in the event that a clob is not submitted when the object is added.

Can't have a null CLOB? In any case, awakeFromFetch() seems appropriate here.

Sorry: of course, these are supposed to be awakeFrom_Insertion_()


sacha


-- Sacha Michel Mallais President / Developer Extraodinaire Global Village Consulting Inc. http://www.global-village.net/ The bird of paradise alights only upon the hand that does not grasp.



_______________________________________________
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


References: 
 >Setting Default Values EOModeler (From: Jonathan Miller <email@hidden>)
 >Re: Setting Default Values EOModeler (From: Sacha Mallais <email@hidden>)

  • Prev by Date: Re: Setting Default Values EOModeler
  • Next by Date: Re: XCode moving sources from Project/ to Project/src
  • Previous by thread: Re: Setting Default Values EOModeler
  • Next by thread: Re: XCode moving sources from Project/ to Project/src
  • Index(es):
    • Date
    • Thread