You are trying to insert an Integer id with value 0. That is a "no value" for Aurelius. If you really want to allow 0 as a valid id value, then use IdUnsavedValue
to indicate a value that will mean "no id":
You are trying to insert an Integer id with value 0. That is a "no value" for Aurelius. If you really want to allow 0 as a valid id value, then use IdUnsavedValue
to indicate a value that will mean "no id":