Re: EF6 - Error inserting 2 related objects in a single SaveChanges
Posted by: Samuel Sippe
Date: May 08, 2014 11:00PM

Finally figured out the problem. It was due to using usigned bigints in the id column of the table. It would be great if the error message was more descriptive. Changing the column to signed fixes the problem. Seems similar to an issue:
http://bugs.mysql.com/bug.php?id=44801
also mentioned here:
http://stackoverflow.com/questions/2132866/mysql-connector-for-net-is-it-really-mature

May I suggest a change to either a) support unsigned biginits or b) raise a more descriptive error message?

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.