diff --git a/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/AuthorWithBooksRepository.java b/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/AuthorWithBooksRepository.java index 0bc3db2..a213187 100644 --- a/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/AuthorWithBooksRepository.java +++ b/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/AuthorWithBooksRepository.java @@ -1,6 +1,6 @@ package org.jnosql.demoee; -import jakarta.data.repository.Pageable; +import jakarta.data.page.Pageable; import jakarta.data.repository.PageableRepository; import jakarta.data.repository.Repository; diff --git a/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/BookWithAuthorRepository.java b/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/BookWithAuthorRepository.java index 960d3cc..f0473b6 100644 --- a/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/BookWithAuthorRepository.java +++ b/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/BookWithAuthorRepository.java @@ -1,5 +1,6 @@ package org.jnosql.demoee; +import jakarta.data.page.Pageable; import jakarta.data.repository.*; import jakarta.ws.rs.QueryParam; diff --git a/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/Bookstore.java b/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/Bookstore.java index 4d37fd7..6e0c5bb 100644 --- a/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/Bookstore.java +++ b/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/Bookstore.java @@ -1,8 +1,6 @@ package org.jnosql.demoee; -import io.smallrye.config.ConfigMappingClassMapper; -import jakarta.data.repository.Page; -import jakarta.data.repository.Pageable; +import jakarta.data.page.Pageable; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; diff --git a/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/PageableResource.java b/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/PageableResource.java index e29f7aa..08243c0 100644 --- a/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/PageableResource.java +++ b/quarkus-jnosql-lite/src/main/java/org/jnosql/demoee/PageableResource.java @@ -1,8 +1,9 @@ package org.jnosql.demoee; -import jakarta.data.repository.Direction; -import jakarta.data.repository.Pageable; -import jakarta.data.repository.Sort; + +import jakarta.data.Direction; +import jakarta.data.page.Pageable; +import jakarta.data.Sort; import java.util.Arrays; import java.util.Objects; diff --git a/quarkus-mongodb/src/main/java/org/jnosql/demoee/DogResource.java b/quarkus-mongodb/src/main/java/org/jnosql/demoee/DogResource.java index 0538d5d..29f8b9a 100644 --- a/quarkus-mongodb/src/main/java/org/jnosql/demoee/DogResource.java +++ b/quarkus-mongodb/src/main/java/org/jnosql/demoee/DogResource.java @@ -1,15 +1,16 @@ package org.jnosql.demoee; import com.github.javafaker.Faker; -import jakarta.data.repository.Pageable; -import jakarta.data.repository.Sort; + + +import jakarta.data.page.Pageable; +import jakarta.data.Sort; import jakarta.enterprise.context.ApplicationScoped; import jakarta.inject.Inject; import jakarta.ws.rs.DELETE; import jakarta.ws.rs.DefaultValue; import jakarta.ws.rs.GET; import jakarta.ws.rs.POST; -import jakarta.ws.rs.PUT; import jakarta.ws.rs.Path; import jakarta.ws.rs.PathParam; import jakarta.ws.rs.QueryParam;