• 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: Pascal Robert <email@hidden>
  • Date: Wed, 3 Dec 2008 13:14:40 -0500


Le 08-12-03 à 13:08, Chuck Hill a écrit :


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?

That was the problem, mysql.jar was listed in the build path, but for an unknow reason the plugin framework was not part of WO's frameworks. Maybe I was hallucinating :-) _______________________________________________
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: 
 >"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>)
 >Re: "failed to provide new primary keys" error (From: Chuck Hill <email@hidden>)

  • Prev by Date: Baffling problem with foreign key
  • Next by Date: Where is the deadlock culprit?
  • Previous by thread: Re: "failed to provide new primary keys" error
  • Next by thread: WOLips Stable for Eclipse 3.4 coming soon?
  • Index(es):
    • Date
    • Thread