Hi List,

Thanks a lot for help.

It works.
Envoyé depuis iCloud

Le 4 sept. 2014 à 14:09, Raymond NANEON <rnan...@me.com> a écrit :

Hi Ken,

Thanks for your clear explanation.

I check it and try to record some data in the table.
Envoyé depuis iCloud

Le 4 sept. 2014 à 14:00, Ken Anderson <kenli...@anderhome.com> a écrit :

Raymond,

Make sure the relationship is selected in the Outline.
Click on Advanced in the Properties inspector.
There’s a checkbox “Propagates Primary Key”

Ken

On Sep 4, 2014, at 7:57 AM, Raymond NANEON <rnan...@me.com> wrote:

Hi Paul,

Can I have a screenshot? Sorry but I don't see "propagate option" here.

Thanks
Envoyé depuis iCloud

Le 4 sept. 2014 à 12:28, Paul Yu <p...@mac.com> a écrit :

Raymond

Look in entity modeler.  Under the EO tabs in the lower left corner.

Paul

Sent from my iPad

On Sep 4, 2014, at 5:51 AM, Raymond NANEON <rnan...@me.com> wrote:

I don't know. How I verify if it's a propagate pk in my eomdel?
In my SqlDeveloper, I don't see "propagate option" or something like that for 
the table.
Envoyé depuis iCloud

Le 4 sept. 2014 à 10:14, Alexander Spohr <a...@freeport.de> a écrit :

Is "propagate primary key" on in the source key tables?



Am 04.09.2014 um 08:27 schrieb Raymond NANEON <rnan...@me.com>:

Hello List, 

I have an issue with a primary key on a repartition table. Indeed, the primary 
key for this table has two foreign keys. When I save the data in the 
repartition table through ec.saveChanges, I have this error directly: 
sept. 03 16:20:00 PreProjets[8484] DEBUG er.eo.ERXGenericRecord  - 
EditingContextWillSaveChanges: done calling will*
java.lang.IllegalStateException: Adaptor 
er.extensions.jdbc.ERXJDBCAdaptor@12e84396 failed to provide new primary keys 
for entity 'FwkProjetsAdmrec_RepartPprecParamOrdre'
at 
com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator(EODatabaseContext.java:5713)
at 
com.webobjects.eocontrol.EOObjectStoreCoordinator.saveChangesInEditingContext(EOObjectStoreCoordinator.java:370)
at 
com.webobjects.eocontrol.EOEditingContext.saveChanges(EOEditingContext.java:3192)

I don't understand why ERXGenericRecord want to create a new pk? I missed a 
setting in my eomdel ...

Thanks for help
Envoyé depuis iCloud
_______________________________________________
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/atze%40freeport.de

This email sent to a...@freeport.de

_______________________________________________
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/pyu%40mac.com

This email sent to p...@mac.com
_______________________________________________
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/kenlists%40anderhome.com

This email sent to kenli...@anderhome.com

_______________________________________________
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/rnaneon%40me.com

This email sent to rnan...@me.com
 _______________________________________________
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