• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ec.saveChanges in repartition table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ec.saveChanges in repartition table


  • Subject: ec.saveChanges in repartition table
  • From: Raymond NANEON <email@hidden>
  • Date: Thu, 04 Sep 2014 06:27:59 +0000 (GMT)

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ec.saveChanges in repartition table
      • From: Alexander Spohr <email@hidden>
  • Prev by Date: Eclipse 4.4 support for WOLips bugs
  • Next by Date: Re: ec.saveChanges in repartition table
  • Previous by thread: Eclipse 4.4 support for WOLips bugs
  • Next by thread: Re: ec.saveChanges in repartition table
  • Index(es):
    • Date
    • Thread