• 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
PK Generation in PostgreSQL 7.3 with WO 5.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PK Generation in PostgreSQL 7.3 with WO 5.1


  • Subject: PK Generation in PostgreSQL 7.3 with WO 5.1
  • From: MJE <email@hidden>
  • Date: Fri, 21 Feb 2003 15:47:54 +1100

Has anyone had any experience using WO 5.1 with PostgreSQL 7.3 on Mac OS 10.2?

I'm having trouble when saving an editing context after inserting an EOGenericRecord subclass (new record/object created programatically). The error below is returned. Will I have to implement databaseContextNewPrimaryKey* for every EOEntity? Is there a better way? OpenBase takes care of this nicely, but we have to use PostgreSQL for this project.

*Refer <http://developer.apple.com/techpubs/webobjects/Enterprise_Objects/ EnterpriseObjects/index.html>

Thanks for any suggestions.

-------
com.webobjects.foundation.NSForwardException [java.lang.IllegalStateException] Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@87aa0 failed to provide new primary keys for entity 'USERSLOG': <Session> failed instantiation. Exception raised :
java.lang.IllegalStateException: Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@87aa0 failed to provide new primary keys for entity 'USERSLOG': java.lang.IllegalStateException: Adaptor com.webobjects.jdbcadaptor.JDBCAdaptor@87aa0 failed to provide new primary keys for entity 'USERSLOG'
-------


MJE
_______________________________________________
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: PK Generation in PostgreSQL 7.3 with WO 5.1
      • From: Tore Halset <email@hidden>
  • Prev by Date: Re: EJBTool failed when building EJB container on Mac OSX-solved sorta
  • Next by Date: Re: Making Primary Keys with SQLServer/PostgreSQL
  • Previous by thread: Re: Making Primary Keys with SQLServer/PostgreSQL
  • Next by thread: Re: PK Generation in PostgreSQL 7.3 with WO 5.1
  • Index(es):
    • Date
    • Thread