diff --git a/graphql-spring-boot-example/pom.xml b/graphql-spring-boot-example/pom.xml index 45118d0..aef6bcb 100644 --- a/graphql-spring-boot-example/pom.xml +++ b/graphql-spring-boot-example/pom.xml @@ -27,8 +27,8 @@ graphql-spring-boot-example - 12.0.0 - 2.7.4 + 15.1.0 + 3.3.11 @@ -69,7 +69,7 @@ - org.hibernate + org.hibernate.orm hibernate-core @@ -107,4 +107,20 @@ test + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.11.0 + + 17 + 17 + true + + + + + \ No newline at end of file diff --git a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/dao/ComposerRepository.java b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/dao/ComposerRepository.java index dcd5e1b..33cef96 100644 --- a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/dao/ComposerRepository.java +++ b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/dao/ComposerRepository.java @@ -16,9 +16,9 @@ package bny.jpe.graphql.example.dao; -import javax.persistence.EntityManager; -import javax.persistence.NoResultException; -import javax.persistence.PersistenceContext; +import jakarta.persistence.EntityManager; +import jakarta.persistence.NoResultException; +import jakarta.persistence.PersistenceContext; import java.util.Collections; import java.util.List; import java.util.Optional; diff --git a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/ComposerEntity.java b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/ComposerEntity.java index 7a8cf5d..45dedc6 100644 --- a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/ComposerEntity.java +++ b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/ComposerEntity.java @@ -16,14 +16,14 @@ package bny.jpe.graphql.example.entities; -import javax.persistence.Entity; -import javax.persistence.FetchType; -import javax.persistence.GeneratedValue; -import javax.persistence.GenerationType; -import javax.persistence.Id; -import javax.persistence.OneToMany; -import javax.persistence.OneToOne; -import javax.persistence.Table; +import jakarta.persistence.Entity; +import jakarta.persistence.FetchType; +import jakarta.persistence.GeneratedValue; +import jakarta.persistence.GenerationType; +import jakarta.persistence.Id; +import jakarta.persistence.OneToMany; +import jakarta.persistence.OneToOne; +import jakarta.persistence.Table; import java.time.LocalDate; import java.util.List; import java.util.Optional; diff --git a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/CompositionEntity.java b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/CompositionEntity.java index 3803706..3b67a18 100644 --- a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/CompositionEntity.java +++ b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/CompositionEntity.java @@ -16,12 +16,12 @@ package bny.jpe.graphql.example.entities; -import javax.persistence.Entity; -import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; -import javax.persistence.OneToOne; -import javax.persistence.Table; +import jakarta.persistence.Entity; +import jakarta.persistence.Id; +import jakarta.persistence.JoinColumn; +import jakarta.persistence.ManyToOne; +import jakarta.persistence.OneToOne; +import jakarta.persistence.Table; import bny.jpe.graphql.kata.domain.Composition; import bny.jpe.graphql.kata.domain.Concerto; diff --git a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/InstrumentEntity.java b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/InstrumentEntity.java index 3c53a8e..8dee1b9 100644 --- a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/InstrumentEntity.java +++ b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/InstrumentEntity.java @@ -16,9 +16,9 @@ package bny.jpe.graphql.example.entities; -import javax.persistence.Entity; -import javax.persistence.Id; -import javax.persistence.Table; +import jakarta.persistence.Entity; +import jakarta.persistence.Id; +import jakarta.persistence.Table; import bny.jpe.graphql.kata.domain.Instrument; import bny.jpe.graphql.kata.domain.InstrumentType; diff --git a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/LocationEntity.java b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/LocationEntity.java index 0d7d27d..e5d974d 100644 --- a/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/LocationEntity.java +++ b/graphql-spring-boot-example/src/main/java/bny/jpe/graphql/example/entities/LocationEntity.java @@ -16,9 +16,9 @@ package bny.jpe.graphql.example.entities; -import javax.persistence.Entity; -import javax.persistence.Id; -import javax.persistence.Table; +import jakarta.persistence.Entity; +import jakarta.persistence.Id; +import jakarta.persistence.Table; import bny.jpe.graphql.kata.domain.Location; diff --git a/pom.xml b/pom.xml index 459e73f..b2ef588 100644 --- a/pom.xml +++ b/pom.xml @@ -35,10 +35,10 @@ 17 17 UTF-8 - 19.0 - 11.0.0 - 2.13.0 - 5.8.1 + 21.5 + 11.1.0 + 2.15.2 + 5.10.2