Subset and Dataset accessionRefs
When registering accessionRefs
with subsets or datasets, there is a possibility that the incoming list contains duplicate entries:
could not execute statement; SQL [n/a]; constraint [UK_dataset_accessions_1]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement\ncould not execute statement\n(conn=807235) Duplicate entry '2493-TWN001-VI011991-Capsicum' for key
UK_dataset_accessions_1
If an entry is duplicated (either in the input or in the database) Genesys should ignore the duplicate and keep just one copy of the accessionRef
.\