Re: D2W creating a new object?
Re: D2W creating a new object?
- Subject: Re: D2W creating a new object?
- From: David LeBer <email@hidden>
- Date: Fri, 06 Apr 2012 11:58:15 -0400
Does the DB column type and model match?
Is your EO_PK_TABLE up to date (though I think that would lead to a more explicit error)?
D
--
David LeBer
Codeferous Software
On 2012-04-06, at 11:34 AM, Theodore Petrosky wrote:
> the primary key is id modeled as an int and it is not exposed as a class property.
>
> Ted
>
> --- On Fri, 4/6/12, Ramsey Gurley <email@hidden> wrote:
>
>> From: Ramsey Gurley <email@hidden>
>> Subject: Re: D2W creating a new object?
>> To: "Theodore Petrosky" <email@hidden>
>> Cc: "David LeBer" <email@hidden>, "email@hidden" <email@hidden>
>> Date: Friday, April 6, 2012, 11:32 AM
>>
>> On Apr 6, 2012, at 8:21 AM, Theodore Petrosky wrote:
>>
>>> I should have also said that I still get the error:
>>>
>>>
>> Error: java.lang.IllegalStateException:
>> Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@7f1633fd
>> failed to provide new primary keys for entity 'Brief'
>>
>> What is the primary key(s) for brief and how is it modeled?
>> Is it a class property? If the PK is exposed as a
>> class property, you have to set it manually.
>>
>> Ramsey
>>
>>
_______________________________________________
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