Re: "failed to provide new primary keys" error
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