<- Back to NucleoCore
Skip to main content

Data Repository

Simplifies the retrieval and saving of data entries into the NucleoDB database. 

Definition

@Repository
public interface AuthorDataRepository extends NDBDataRepository<AuthorDE, String>{
  Set<AuthorDE> findByNameAndKey(String name, String key);
  Set<AuthorDE> findByName(String name);
  void deleteByName(String name);
}