[JAVA-28924] Migrate libraries-data-db to Spring Boot 3 (#15638)

This commit is contained in:
Harry9656 2024-01-21 21:58:15 +01:00 committed by GitHub
parent cc1b43e554
commit 58ab148266
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 10 deletions

View File

@ -8,9 +8,9 @@
<parent> <parent>
<groupId>com.baeldung</groupId> <groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId> <artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<relativePath>../parent-boot-2</relativePath> <relativePath>../parent-boot-3</relativePath>
</parent> </parent>
<dependencies> <dependencies>
@ -159,6 +159,11 @@
<artifactId>ebean-api</artifactId> <artifactId>ebean-api</artifactId>
<version>${ebean.version}</version> <version>${ebean.version}</version>
</dependency> </dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
<version>${jakarta.xml.bind.version}</version>
</dependency>
</dependencies> </dependencies>
<build> <build>
@ -290,22 +295,24 @@
</build> </build>
<properties> <properties>
<ebean.plugin.version>11.11.2</ebean.plugin.version> <ebean.plugin.version>13.25.2</ebean.plugin.version>
<reladomo.version>18.1.0</reladomo.version> <reladomo.version>18.1.0</reladomo.version>
<build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version> <build-helper-maven-plugin.version>3.0.0</build-helper-maven-plugin.version>
<maven-antrun-plugin.version>1.8</maven-antrun-plugin.version> <maven-antrun-plugin.version>1.8</maven-antrun-plugin.version>
<ormlite.version>6.1</ormlite.version> <ormlite.version>6.1</ormlite.version>
<datanucleus.version>6.0.3</datanucleus.version> <datanucleus.version>6.0.6</datanucleus.version>
<datanucleus-api.version>6.0.1</datanucleus-api.version> <datanucleus-api.version>6.0.1</datanucleus-api.version>
<datanucleus-maven-plugin.version>6.0.0-release</datanucleus-maven-plugin.version> <datanucleus-maven-plugin.version>6.0.0-release</datanucleus-maven-plugin.version>
<datanucleus-jdo-query.version>6.0.1</datanucleus-jdo-query.version> <datanucleus-jdo-query.version>6.0.1</datanucleus-jdo-query.version>
<javax.jdo.version>3.2.1</javax.jdo.version> <javax.jdo.version>3.2.1</javax.jdo.version>
<HikariCP.version>5.1.0</HikariCP.version> <HikariCP.version>5.1.0</HikariCP.version>
<ebean.version>13.15.2</ebean.version> <ebean.version>13.15.2</ebean.version>
<debezium.version>2.1.3.Final</debezium.version> <debezium.version>2.5.0.Final</debezium.version>
<flexy-pool.version>2.2.3</flexy-pool.version> <flexy-pool.version>2.2.3</flexy-pool.version>
<testcontainers-version>1.17.6</testcontainers-version> <testcontainers-version>1.19.3</testcontainers-version>
<mapdb.version>3.0.8</mapdb.version> <mapdb.version>3.0.8</mapdb.version>
<jakarta.xml.bind.version>4.0.1</jakarta.xml.bind.version>
<spring-boot.repackage.skip>true</spring-boot.repackage.skip> <!-- to avoid repackaging of the jar -->
</properties> </properties>
</project> </project>

View File

@ -2,7 +2,7 @@ package com.baeldung.libraries.jdo;
import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.PrimaryKey; import javax.jdo.annotations.PrimaryKey;
import javax.xml.bind.annotation.XmlAttribute; import jakarta.xml.bind.annotation.XmlAttribute;
@PersistenceCapable() @PersistenceCapable()
public class ProductXML { public class ProductXML {

View File

@ -3,12 +3,13 @@ package com.baeldung.libraries.jdo.xml;
import javax.jdo.annotations.Element; import javax.jdo.annotations.Element;
import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.PrimaryKey; import javax.jdo.annotations.PrimaryKey;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementWrapper;
@PersistenceCapable(schema = "/myproduct/people", table = "person") @PersistenceCapable(schema = "/myproduct/people", table = "person")
public class AnnotadedPerson { public class AnnotadedPerson {
@XmlAttribute @XmlAttribute