Re: D2W Problem
Re: D2W Problem
- Subject: Re: D2W Problem
- From: Robert Walker <email@hidden>
- Date: Fri, 18 Aug 2006 16:40:18 -0400
Dustin,
You aren't using inheritance by chance are you?
From:
Allows Null By default, attributes you add to entities allow null values, except in the case of primary keys. This means that Enterprise Objects allows attributes containing no values to be saved to the data source. In some cases, such as when using inheritance, allowing null values may be necessary. On Aug 18, 2006, at 4:32 PM, Dustin Withers wrote: Hello All,
So I have a foreign key that does not allow nulls and the relationship to the primary is Mandatory. When I run the direct to web app and create a new record D2W comes back telling me that the foreign key does not allow nulls and will not save the record. If I allow nulls on the foreign key Entity Modeler complains and says "DBTest/Entity:People/Relationship:building is mandatory but DBTest/Entity:People/Attributes:buildingID allows null." but the D2W app works fine at this point. I don't mind allowing null but I don't understand why things are functioning this way.
The database is MySQL 4
Any ideas?
-dustin
|
_______________________________________________
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: | |
| >D2W Problem (From: Dustin Withers <email@hidden>) |