The error is raised for all Koch ecocode definitions, and caused by the system failing to retrieve the Kock ecocode system item in tbl_ecocode_systems. The following snippet gives the domain query used, that expects the name to be "Koch System". The name in the database is "Koch Ecology Codes".
public interface EcocodeSystemRepository extends Repository<EcocodeSystem, Integer> {
@Query("select eSystem from EcocodeSystem eSystem where eSystem.name = 'Koch System'")
EcocodeSystem findKochSystem();
}
The error is raised for all Koch ecocode definitions, and caused by the system failing to retrieve the Kock ecocode system item in
tbl_ecocode_systems
. The following snippet gives the domain query used, that expects the name to be "Koch System". The name in the database is "Koch Ecology Codes".