Re: D2W creating a new object?
Re: D2W creating a new object?
- Subject: Re: D2W creating a new object?
- From: Theodore Petrosky <email@hidden>
- Date: Fri, 06 Apr 2012 08:34:56 -0700 (PDT)
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