Whenever I attempted to Build / Update a schema mapping that included Accessions, it would fail. A dialog would show this:
java.util.concurrent.ExecutionException: org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of edu.ku.brc.specify.datamodel.DataModelObjBase.version
I fixed this by using this SQL command (specific to this case):
UPDATE accession SET `Version` = 0 WHERE Version IS NULL;
Whenever I attempted to
Build / Update
a schema mapping that included Accessions, it would fail. A dialog would show this:I fixed this by using this SQL command (specific to this case):
It should be able to handle these instances.