diff --git a/jnosql-lite/mapping-lite-column-test/src/main/java/org/eclipse/jnosql/lite/mapping/entities/PersonCrudRepository.java b/jnosql-lite/mapping-lite-column-test/src/main/java/org/eclipse/jnosql/lite/mapping/entities/PersonCrudRepository.java index b9222740..f38c413d 100644 --- a/jnosql-lite/mapping-lite-column-test/src/main/java/org/eclipse/jnosql/lite/mapping/entities/PersonCrudRepository.java +++ b/jnosql-lite/mapping-lite-column-test/src/main/java/org/eclipse/jnosql/lite/mapping/entities/PersonCrudRepository.java @@ -14,15 +14,15 @@ */ package org.eclipse.jnosql.lite.mapping.entities; -import jakarta.data.repository.CrudRepository; import jakarta.data.repository.Param; import jakarta.data.repository.Query; import jakarta.data.repository.Repository; +import org.eclipse.jnosql.mapping.NoSQLRepository; import java.util.List; @Repository -public interface PersonCrudRepository extends CrudRepository { +public interface PersonCrudRepository extends NoSQLRepository { List findByName(String name); diff --git a/jnosql-lite/mapping-lite-document-test/src/main/java/org/eclipse/jnosql/lite/mapping/entities/PersonCrudRepository.java b/jnosql-lite/mapping-lite-document-test/src/main/java/org/eclipse/jnosql/lite/mapping/entities/PersonCrudRepository.java index cfb1c87a..a5765112 100644 --- a/jnosql-lite/mapping-lite-document-test/src/main/java/org/eclipse/jnosql/lite/mapping/entities/PersonCrudRepository.java +++ b/jnosql-lite/mapping-lite-document-test/src/main/java/org/eclipse/jnosql/lite/mapping/entities/PersonCrudRepository.java @@ -20,7 +20,6 @@ import jakarta.data.page.Page; import jakarta.data.page.PageRequest; import jakarta.data.repository.By; -import jakarta.data.repository.CrudRepository; import jakarta.data.repository.Find; import jakarta.data.repository.OrderBy; import jakarta.data.repository.Param;