• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2W creating a new object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: D2W creating a new object?
      • From: David LeBer <email@hidden>
References: 
 >Re: D2W creating a new object? (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: D2W creating a new object?
  • Next by Date: Re: D2W creating a new object?
  • Previous by thread: Re: D2W creating a new object?
  • Next by thread: Re: D2W creating a new object?
  • Index(es):
    • Date
    • Thread