• 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
Re: "failed to provide new primary keys" error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "failed to provide new primary keys" error


  • Subject: Re: "failed to provide new primary keys" error
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 3 Dec 2008 10:08:49 -0800


On Dec 3, 2008, at 5:47 AM, Pascal Robert wrote:


Le 08-12-02 à 17:18, Chuck Hill a écrit :


On Dec 2, 2008, at 1:45 PM, Pascal Robert wrote:

I don't understand this one... WO 5.4.3, WOLips stable, MySQL 4.1 with JDBC connector 5.0.8. When I try to save a newly created (and inserted object), I get :

Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@30f1a2 failed to provide new primary keys for entity 'Utilisateur'

EO_PK_TABLE is there, so I don't know why I'm getting that :-/ The entity do have a single key primary key, of type Long (BIGINT in the BD).


Just that one object or any object? If just that one, check the PK definition again.

Strangely enough, I can create and save the entity inside my "client" app, but not inside the Web service app, even if they share the same frameworks.


Do they both have the same plugin framework for MySQL and the same EOPrototypes framework? Is it just that one entity? Can you create other entities?


Chuck


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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: "failed to provide new primary keys" error
      • From: Pascal Robert <email@hidden>
References: 
 >"failed to provide new primary keys" error (From: Pascal Robert <email@hidden>)
 >Re: "failed to provide new primary keys" error (From: Chuck Hill <email@hidden>)
 >Re: "failed to provide new primary keys" error (From: Pascal Robert <email@hidden>)

  • Prev by Date: eclipse editor plugin for Apple plist (not XML)
  • Next by Date: Baffling problem with foreign key
  • Previous by thread: Re: "failed to provide new primary keys" error
  • Next by thread: Re: "failed to provide new primary keys" error
  • Index(es):
    • Date
    • Thread