Hi all,

I have an entity A with a to-one relationship to entity B. 

The relationship is setup in eomodeler to propagate it’s primary key from A to 
B. 

 I then create A and B, insert into editing context and set the to-one 
relationship in A to point to B. When I save changes EOF is trying to insert 
TWO instances of B. The second instance of B has NULL in all its properties:

INSERT INTO HOSTING_COMPANY(CUSTOMER_ID, name) VALUES (?, ?)" withBindings: 
1:20462(customerID), 2:"test"(name)>

INSERT INTO HOSTING_COMPANY(CUSTOMER_ID, name) VALUES (NULL, NULL)
 

Is this a know bug? I am using a very old version of Wonder. 

The relationship is also set up to own the destination and Cascade on Delete. 

Thanks in advance for any help. 

Ricardo
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to