| Hello, It's me again. The guy who just recently moved the database from MSSQL 7 to PostgreSQL 8.1. I am getting errors like this whenever I try to save changes in my defaultEditingContext: java.lang.IllegalStateException: cannot update primary-key 'user_ID' from '11795' to '11795' on object:{values ... This was not happening when I was using the old MSSQL. I searched the list archive and found this:
I have the PK set as class property because it is used as key for some direct action pages. Is there anyway to not have the PK updated when saving? Any help is greatly appreciated. Thank you very much for reading. Regards, Nick Yang |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]
