• 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:48:10 -0700

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.



sacha


-- Sacha Michel Mallais - 800 lb. gorilla Global Village Consulting Inc.: http://www.global-village.net/ ObAd: read "Practical WebObjects" <fnord> http://www.global-village.net/products/practical_webobjects



_______________________________________________
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: Setting Default Values EOModeler
      • From: Sacha Mallais <email@hidden>
References: 
 >Setting Default Values EOModeler (From: Jonathan Miller <email@hidden>)

  • Prev by Date: Re: WO 5.3 stand-alone deployment
  • Next by Date: Re: Setting Default Values EOModeler
  • Previous by thread: Re: Setting Default Values EOModeler
  • Next by thread: Re: Setting Default Values EOModeler
  • Index(es):
    • Date
    • Thread