diff --git a/pom.xml b/pom.xml index 29bdbe1..7589090 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ org.springframework.boot spring-boot-starter-parent - 2.7.2 + 3.0.1 diff --git a/src/main/java/io/github/gustavoleitao/queryapi/OperatorStrategy.java b/src/main/java/io/github/gustavoleitao/queryapi/OperatorStrategy.java index c93650b..a763889 100644 --- a/src/main/java/io/github/gustavoleitao/queryapi/OperatorStrategy.java +++ b/src/main/java/io/github/gustavoleitao/queryapi/OperatorStrategy.java @@ -1,8 +1,8 @@ package io.github.gustavoleitao.queryapi; -import javax.persistence.criteria.CriteriaBuilder; -import javax.persistence.criteria.Predicate; -import javax.persistence.criteria.Root; +import jakarta.persistence.criteria.CriteriaBuilder; +import jakarta.persistence.criteria.Predicate; +import jakarta.persistence.criteria.Root; @FunctionalInterface public interface OperatorStrategy { diff --git a/src/main/java/io/github/gustavoleitao/queryapi/QuerySpecification.java b/src/main/java/io/github/gustavoleitao/queryapi/QuerySpecification.java index 96dc37f..4cb8793 100644 --- a/src/main/java/io/github/gustavoleitao/queryapi/QuerySpecification.java +++ b/src/main/java/io/github/gustavoleitao/queryapi/QuerySpecification.java @@ -4,8 +4,8 @@ import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.data.jpa.domain.Specification; -import javax.persistence.criteria.*; -import javax.persistence.metamodel.Attribute; +import jakarta.persistence.criteria.*; +import jakarta.persistence.metamodel.Attribute; import java.lang.reflect.Field; import java.util.*; import java.util.stream.Collectors; diff --git a/src/test/java/io/github/gustavoleitao/queryapi/test/BaseClass.java b/src/test/java/io/github/gustavoleitao/queryapi/test/BaseClass.java index dd379cf..e02bbef 100644 --- a/src/test/java/io/github/gustavoleitao/queryapi/test/BaseClass.java +++ b/src/test/java/io/github/gustavoleitao/queryapi/test/BaseClass.java @@ -5,8 +5,8 @@ import lombok.Data; import lombok.NoArgsConstructor; -import javax.persistence.Column; -import javax.persistence.MappedSuperclass; +import jakarta.persistence.Column; +import jakarta.persistence.MappedSuperclass; import java.io.Serializable; import java.util.UUID; diff --git a/src/test/java/io/github/gustavoleitao/queryapi/test/Greeting.java b/src/test/java/io/github/gustavoleitao/queryapi/test/Greeting.java index 05d88c5..cad9330 100644 --- a/src/test/java/io/github/gustavoleitao/queryapi/test/Greeting.java +++ b/src/test/java/io/github/gustavoleitao/queryapi/test/Greeting.java @@ -4,7 +4,7 @@ import lombok.Builder; import lombok.Data; -import javax.persistence.*; +import jakarta.persistence.*; import java.util.Date; import java.util.UUID; diff --git a/src/test/java/io/github/gustavoleitao/queryapi/test/SomeOther.java b/src/test/java/io/github/gustavoleitao/queryapi/test/SomeOther.java index 68bb54a..1fee45a 100644 --- a/src/test/java/io/github/gustavoleitao/queryapi/test/SomeOther.java +++ b/src/test/java/io/github/gustavoleitao/queryapi/test/SomeOther.java @@ -6,7 +6,7 @@ import lombok.Builder; import lombok.Data; -import javax.persistence.*; +import jakarta.persistence.*; @Entity @Data