JAVA-31854 :- Upgrade Spring-Boot-data-3 to Boot 3. (#16075)

This commit is contained in:
Amit Pandey 2024-03-14 04:27:15 +05:30 committed by GitHub
parent ea56a5b9f4
commit bd67d38a96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 20 additions and 18 deletions

View File

@ -10,16 +10,17 @@
<description>spring-boot-data-3</description>
<parent>
<groupId>com.baeldung.spring-boot-modules</groupId>
<artifactId>spring-boot-modules</artifactId>
<version>1.0.0-SNAPSHOT</version>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-3</relativePath>
</parent>
<dependencies>
<dependency>
<groupId>io.hypersistence</groupId>
<artifactId>hypersistence-utils-hibernate-55</artifactId>
<version>3.7.1</version>
<artifactId>hypersistence-utils-hibernate-60</artifactId>
<version>${hypersistence-utils-hibernate-60.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@ -68,6 +69,7 @@
<spring-cloud-starter-aws-secrets-manager-config.version>2.4.4</spring-cloud-starter-aws-secrets-manager-config.version>
<aws-secretsmanager-jdbc.version>1.0.11</aws-secretsmanager-jdbc.version>
<start-class>com.baeldung.startwithoutdb.StartWithoutDbApplication</start-class>
<hypersistence-utils-hibernate-60.version>3.7.3</hypersistence-utils-hibernate-60.version>
</properties>
</project>

View File

@ -1,8 +1,8 @@
package com.baeldung.skipselectbeforeinsert.model;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Transient;
import org.springframework.data.domain.Persistable;

View File

@ -1,9 +1,9 @@
package com.baeldung.skipselectbeforeinsert.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
@Entity
public class Task {

View File

@ -1,9 +1,9 @@
package com.baeldung.skipselectbeforeinsert.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
@Entity
public class TaskWithGeneratedId {

View File

@ -1,7 +1,7 @@
package com.baeldung.skipselectbeforeinsert.repository;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import jakarta.persistence.EntityManager;
import jakarta.persistence.PersistenceContext;
import org.springframework.stereotype.Component;