• 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
Postgresql Failing to Provide a Primary
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Postgresql Failing to Provide a Primary


  • Subject: Postgresql Failing to Provide a Primary
  • From: Brian Allen <email@hidden>
  • Date: Mon, 28 Jul 2003 23:13:01 -0500

I have a Project the was designed for OpenBase and I need it to also work
with Postgres, but I am getting the following error upon trying to save the
context.

java.lang.IllegalStateException: Adaptor
com.webobjects.jdbcadaptor.JDBCAdaptor@1b5077 failed to provide new primary
keys for entity 'Individual'


I believe that the database is setup correct, because I can work with it via
EOModeler.


The last bit of the stack trace is the following:

File                Line#           Method
EODatabaseContext.java  5857    prepareForSaveWithCoordinator

EOObjectStoreCoordinator.java   405 saveChangesInEditingContext

EOEditingContext.java   3128    saveChanges



Thanks for any ideas, because I am not a Postgres user.

- Brian
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Postgresql Failing to Provide a Primary
      • From: Ricardo Strausz <email@hidden>
    • Re: Postgresql Failing to Provide a Primary
      • From: Giorgio Valoti <email@hidden>
  • Prev by Date: Re: EO: Should I create primary keys?
  • Next by Date: Re: EO: Should I create primary keys?
  • Previous by thread: Re: Xcode and webobjects 5.2
  • Next by thread: Re: Postgresql Failing to Provide a Primary
  • Index(es):
    • Date
    • Thread