• 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: Primary Key not present on insert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Primary Key not present on insert


  • Subject: Re: Primary Key not present on insert
  • From: Art Isbell <email@hidden>
  • Date: Tue, 1 Jan 2008 13:26:01 -1000

On Jan 1, 2008, at 9:36 AM, Tobias Crawley wrote:

    attributes = (
        {
            allowsNull = Y; 
            columnName = altDescription; 
            name = altDescription; 
            prototypeName = varchar255; 
        }, 
        {columnName = cardID; name = cardID; prototypeName = id; }, 
        {columnName = diagnosisCodeID; name = diagnosisCodeID; prototypeName = id; }, 
        {name = id; prototypeName = id; }

How does EOF know to which column in your table to map your id attribute?   Try specifying a columnName value for your id attribute.

Aloha,
Art

 _______________________________________________
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: Primary Key not present on insert
      • From: Mike Schrag <email@hidden>
References: 
 >Primary Key not present on insert (From: Tobias Crawley <email@hidden>)

  • Prev by Date: Re: Primary Key not present on insert
  • Next by Date: Re: eclipse not running new project???
  • Previous by thread: Re: Primary Key not present on insert
  • Next by thread: Re: Primary Key not present on insert
  • Index(es):
    • Date
    • Thread