Skip to content

Commit

Permalink
Merge pull request #338 from ncats/fixReferenceIDs
Browse files Browse the repository at this point in the history
add reference IDs
  • Loading branch information
ChemMitch authored Jun 4, 2024
2 parents 2e193d0 + 110f25e commit 85bc5b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ public interface ReferenceRepository extends GsrsVersionedRepository<Reference,
@Query("select s from Reference s where CONCAT(s.uuid, '') like ?1%")
List<Reference> findByUuidStartingWith(String partialUUID);

@Query("select r.id from Reference r")
@Query("select r.uuid from Reference r")
List<UUID> getAllIDs();
}
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,6 @@ protected Optional<UUID> flexLookupIdOnly(String someKindOfId) {

@Override
public List<UUID> getIDs() {
// TODO Auto-generated method stub
return new ArrayList<UUID>();
return repository.getAllIDs();
}
}

0 comments on commit 85bc5b1

Please sign in to comment.