I have a many to many join with flattened relationships that I created using the new relationship wizard in Entity Modeler.
I then added a class property to the intermediary table and changed the class name from EOGeneric record to an appropriate one for the entity and package. Basically I need to know the "order" of the objects in the table so I ascribed a position value.
After I create the object and attempt to save it I'm getting the error "failed to provide new primary keys for entity". I've checked the database and the table exists, the foreign keys are created and I've actually compared it to another table/model where I've done exactly the same thing without an issue.
I'm using ...
Recent version of Wonder
MySQL 5.1.37, using the MySQL plugin supplied by someone on the list .
OS X 10.6
IllegalStateException: Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@779a639b failed to provide new primary keys for entity 'MAP_Gallery_Image'
... skipped 68 stack elements
I don't see an insert SQL command in the SQL log.
Kahalawai Media Corp
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
Visit the Apple Store online or at retail locations.
Copyright © 2011 Apple Inc. All rights reserved.