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 protected]> wrote:
> 
>> From: Ramsey Gurley <[email protected]>
>> Subject: Re: D2W creating a new object?
>> To: "Theodore Petrosky" <[email protected]>
>> Cc: "David LeBer" <[email protected]>, 
>> "[email protected]" <[email protected]>
>> 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 protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to