Re: Default values in EOF
Re: Default values in EOF
- Subject: Re: Default values in EOF
- From: Seejo Pylappan <email@hidden>
- Date: Wed, 27 Apr 2005 13:59:55 -0400
EOF does not rely on the database to provide default values. You should
do that in the code segment. You can implement the awakeFromInsertion()
in your custom object to provide the initial values for your EO. Read
the following documentation for more details:
http://developer.apple.com/documentation/WebObjects/Enterprise_Objects/
BusinessLogic/chapter_4_section_3.html
Thanks,
Seejo
On Apr 27, 2005, at 1:18 PM, email@hidden wrote:
Hello,
i have in the databse some default values for some attributes.
Some of these attributes do not accept null.
My problem is, EOF does not know the attributes have default value. if
user
does not inserts any value an exception is thorwn.
Any can give me a hint to solve this?
Thank you,
Sako.
_______________________________________________
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
_______________________________________________
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