• 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: Tue, 2 Dec 2008 14:18:39 -0800


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.

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>)

  • Prev by Date: Re: DTD from Apple
  • Next by Date: Re: DTD from Apple
  • Previous by thread: "failed to provide new primary keys" error
  • Next by thread: Re: "failed to provide new primary keys" error
  • Index(es):
    • Date
    • Thread