From ff5fda64953d5a371b1348aae12d07be1462e560 Mon Sep 17 00:00:00 2001 From: Neha Verma Date: Wed, 6 Nov 2024 19:12:37 +0530 Subject: [PATCH] Update DeliveryRepository.java javax.persistence to be changed to jakarta.persistence with springboot 3.x --- .../course3/lesson3/data/DeliveryRepository.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/L3 Connecting To Data Sources/exercises/solution/lesson3/src/main/java/com/udacity/jdnd/course3/lesson3/data/DeliveryRepository.java b/L3 Connecting To Data Sources/exercises/solution/lesson3/src/main/java/com/udacity/jdnd/course3/lesson3/data/DeliveryRepository.java index 57d71f4..1155272 100644 --- a/L3 Connecting To Data Sources/exercises/solution/lesson3/src/main/java/com/udacity/jdnd/course3/lesson3/data/DeliveryRepository.java +++ b/L3 Connecting To Data Sources/exercises/solution/lesson3/src/main/java/com/udacity/jdnd/course3/lesson3/data/DeliveryRepository.java @@ -3,12 +3,12 @@ import org.springframework.stereotype.Repository; import org.springframework.transaction.annotation.Transactional; -import javax.persistence.EntityManager; -import javax.persistence.PersistenceContext; -import javax.persistence.TypedQuery; -import javax.persistence.criteria.CriteriaBuilder; -import javax.persistence.criteria.CriteriaQuery; -import javax.persistence.criteria.Root; +import jakarta.persistence.EntityManager; +import jakarta.persistence.PersistenceContext; +import jakarta.persistence.TypedQuery; +import jakarta.persistence.criteria.CriteriaBuilder; +import jakarta.persistence.criteria.CriteriaQuery; +import jakarta.persistence.criteria.Root; import java.util.List; @Repository