• 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 08:47:01 -0500


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 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: Chuck Hill <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>)

  • Prev by Date: Re: Wonder prototypes docs ?
  • Next by Date: eclipse editor plugin for Apple plist (not XML)
  • 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