Re: Postgresql Failing to Provide a Primary
Re: Postgresql Failing to Provide a Primary
- Subject: Re: Postgresql Failing to Provide a Primary
- From: Ricardo Strausz <email@hidden>
- Date: Tue, 29 Jul 2003 13:47:58 -0500
I am not an expert in the subject, but from what I read, it seems that
PK generation is db-dependent; it may use db-specific tricks, or simply
keep a PK_something_TABLE which stores the PK for each entity...
It sound to me that your problem has to do with this; in order to
isolate it, I'd try to find out which mechanism is used in both dbs...
you may find that it is not the same.
On lunes, juli 28, 2003, at 23:13 America/Mexico_City, Brian Allen
wrote:
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.
Dino
http://homepage.mac.com/strausz
_______________________________________________
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.