Re: "failed to provide new primary keys for entity"

2010-02-24 Thread Kieran Kelleher
he 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

Re: "failed to provide new primary keys for entity"

2010-02-24 Thread Johan Henselmans
On 24 feb 2010, at 21:04, Johnny Miller wrote: > OK. There is officially a menehune living in my machine. > > Because all of a sudden it just works - with no changes on my part. I've > double/triple checked the plists nothing has changed. > I have had the same experience, but on a differen

Re: "failed to provide new primary keys for entity"

2010-02-24 Thread David Avendasora
Your Welcome. :-P Dave On Feb 24, 2010, at 3:04 PM, Johnny Miller wrote: > OK. There is officially a menehune living in my machine. > > Because all of a sudden it just works - with no changes on my part. I've > double/triple checked the plists nothing has changed. > > I'm going to call my

Re: "failed to provide new primary keys for entity"

2010-02-24 Thread Johnny Miller
OK. There is officially a menehune living in my machine. Because all of a sudden it just works - with no changes on my part. I've double/triple checked the plists nothing has changed. I'm going to call my local Catholic priest to resolve the issue. On Feb 24, 2010, at 9:08 AM, David Avendas

Re: "failed to provide new primary keys for entity"

2010-02-24 Thread Johnny Miller
Sure. Thanks a lot David! see below... Lahaina:MAPModel.eomodeld jlmiller$ more MAP_ImageGallery.plist { attributes = ( { allowsNull = Y; columnName = "CREATE_DATE"; name = createDate; prototypeName = dateTime; },

Re: "failed to provide new primary keys for entity"

2010-02-24 Thread David Avendasora
On Feb 24, 2010, at 2:02 PM, Chuck Hill wrote: > > On Feb 24, 2010, at 10:53 AM, Johnny Miller wrote: > >> Hi, >> >> I'm still stuck >:( >> >> I thought this information might be helpful. >> >> If I do a System.out on entity.primaryKeyAttributeNames() I see the right >> keys. >> >> If I S

Re: "failed to provide new primary keys for entity"

2010-02-24 Thread Chuck Hill
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

Re: "failed to provide new primary keys for entity"

2010-02-24 Thread Johnny Miller
t;>>> >>>>>> On Feb 23, 2010, at 10:49 AM, Don Lindsay wrote: >>>>>> >>>>>>> This sounds like you have a compound primary key? A primary key with >>>>>>> more than one field or that you

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Johnny Miller
t; >>>>>> >>>>>> On Feb 23, 2010, at 10:49 AM, Don Lindsay wrote: >>>>>> >>>>>>> This sounds like you have a compound primary key? A primary key with >>>>>>> more than one field or that your primar

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Chuck Hill
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".

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Johnny Miller
>>> number and use it. Not use other fields in the table, just create a >>>>> number field that is the primary key this will save you lots of hair >>>>> pulling. >>>>> >>>>> Don >>>>> On Feb 23, 2010, at 3:00 PM, Johnny

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Chuck Hill
t; 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'v

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Johnny Miller
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 >>>> packag

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Kieran Kelleher
ble 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 obj

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Don Lindsay
;m using ... WO 5.4.3 Recent version of Wonder MySQL 5.1.37, using the MySQL plugin supplied by someone on the list . OS X 10.6 stack trace: IllegalStateException: Adaptor com.webobjects.jdbcadaptor.jdbcadap...@779a639b failed to provide new primary keys for entity 

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Johnny Miller
tually >> compared it to another table/model where I've done exactly the same thing >> without an issue. >> >> >> I'm using ... >> WO 5.4.3 >> Recent version of Wonder >> MySQL 5.1.37, using the MySQL plugin suppl

Re: "failed to provide new primary keys for entity"

2010-02-23 Thread Don Lindsay
nd 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 thi

"failed to provide new primary keys for entity"

2010-02-23 Thread Johnny Miller
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 for

Re: [SOLVED] Re: failed to provide new primary keys for entity

2009-07-24 Thread Miguel Angel Torres Avila
On Jul 24, 2009, at 1:23 AM, Cheong Hee (Gmail) wrote: Hope this information helps someone else that is new to Prototypes. Good that you mentioned it. I recalled going through the same path when trying with EOPrototypes , flip-flop with wonder and wo docs to get better picture. Suggest

Re: [SOLVED] Re: failed to provide new primary keys for entity

2009-07-23 Thread Cheong Hee (Gmail)
Hope this information helps someone else that is new to Prototypes. Good that you mentioned it. I recalled going through the same path when trying with EOPrototypes , flip-flop with wonder and wo docs to get better picture. Suggest to add this info into wiki if could. Since EOPrototypes is

failed to provide new primary keys for entity

2009-07-22 Thread Miguel Angel Torres Avila
Hi guys, I am trying to save an object into the database using PostgresqlPlugIn.framework provided by Wonder. I am getting this error: java.lang.IllegalStateException: Adaptor com.webobjects.jdbcadaptor.jdbcadap...@be9d36 failed to provide new primary keys for entity 'Parametros

Re: Microsoft SQL Server and random JDBCAdaptor "failed to provide new primary keys for entity" error

2007-04-17 Thread Daniele Corti
onnected to a Microsoft SQL Server 2000 > database using a custom JDBC adaptor plugin that inherits the default > MicrosoftPlugIn one. This plugin is stable since a long time. > > This is the typical stack trace: > > java.lang.IllegalStateException : Adaptor > [EMAIL PROTECTED] fai

Re: Microsoft SQL Server and random JDBCAdaptor "failed to provide new primary keys for entity" error

2007-04-17 Thread Francis Labrie
herits the default MicrosoftPlugIn one. This plugin is stable since a long time. This is the typical stack trace: java.lang.IllegalStateException : Adaptor [EMAIL PROTECTED] failed to provide new primary keys for entity 'Ad

Re: Microsoft SQL Server and random JDBCAdaptor "failed to provide new primary keys for entity" error

2007-04-13 Thread Daniele Corti
In one. This plugin is stable since a long time. This is the typical stack trace: java.lang.IllegalStateException: Adaptor [EMAIL PROTECTED] failed to provide new primary keys for entity 'Adresse' at com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator (EODatabaseConte

Microsoft SQL Server and random JDBCAdaptor "failed to provide new primary keys for entity" error

2007-04-13 Thread Francis Labrie
time. This is the typical stack trace: java.lang.IllegalStateException: Adaptor [EMAIL PROTECTED] failed to provide new primary keys for entity 'Adresse' at com.webobjects.eoaccess.EODatabaseContext.prepareForSaveWithCoordinator( EODatabaseContext.java