Re: Setting Default Values EOModeler
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