Primary key violations threw a strange exception message when using a single column INT or BIGINT key.