Data Repository
Simplifies the retrieval and saving of data entries into the NucleoDB database.
Definition
@Repository
public interface AuthorDataRepository extends NDBDataRepository<AuthorDE, String>{
AuthorDE findByNameAndKey(String name, String key);
AuthorDE findByName(String name);
void deleteByName(String name);
}
Usage