JAVA-28946 Upgrade sql injection samples to Spring Boot 3 (#16093)

* JAVA-28946 Upgrade sql injection samples to Spring Boot 3

* JAVA-28946 Optimise imports for AccountDAO
This commit is contained in:
sam-gardner
2024-03-19 21:24:22 +00:00
committed by GitHub
parent c0bce2baac
commit 08f57d02fb
5 changed files with 29 additions and 19 deletions
+14 -3
View File
@@ -10,9 +10,9 @@
<parent>
<groupId>com.baeldung</groupId>
<artifactId>parent-boot-2</artifactId>
<artifactId>parent-boot-3</artifactId>
<version>0.0.1-SNAPSHOT</version>
<relativePath>../../parent-boot-2</relativePath>
<relativePath>../../parent-boot-3</relativePath>
</parent>
<dependencies>
@@ -25,6 +25,11 @@
<artifactId>derby</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derbytools</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
@@ -46,8 +51,9 @@
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-jpamodelgen</artifactId>
<version>${hibernate-jpamodelgen.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
@@ -64,4 +70,9 @@
</plugins>
</build>
<properties>
<maven.compiler.release>17</maven.compiler.release>
<hibernate-jpamodelgen.version>6.4.4.Final</hibernate-jpamodelgen.version>
</properties>
</project>