From 6ecb45fe04b48facd541fc50c9872ddf3b90d9dc Mon Sep 17 00:00:00 2001 From: Christoph Strobl Date: Thu, 22 Aug 2024 08:55:58 +0200 Subject: [PATCH] Revert packaging changes of performance module. ...and remove duplicate properties entry. See: #3309 --- spring-data-jpa-performance/pom.xml | 2 +- .../data/jpa/repository/RepositoryFinderTests.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-data-jpa-performance/pom.xml b/spring-data-jpa-performance/pom.xml index 38f130983..fa836f34c 100644 --- a/spring-data-jpa-performance/pom.xml +++ b/spring-data-jpa-performance/pom.xml @@ -7,7 +7,7 @@ spring-data-jpa-performance - pom + jar Spring Data JPA - Performance Benchmark build for Spring Data JPA diff --git a/spring-data-jpa-performance/src/test/java/org/springframework/data/jpa/repository/RepositoryFinderTests.java b/spring-data-jpa-performance/src/test/java/org/springframework/data/jpa/repository/RepositoryFinderTests.java index 0fc408151..af914d019 100644 --- a/spring-data-jpa-performance/src/test/java/org/springframework/data/jpa/repository/RepositoryFinderTests.java +++ b/spring-data-jpa-performance/src/test/java/org/springframework/data/jpa/repository/RepositoryFinderTests.java @@ -106,7 +106,6 @@ public class RepositoryFinderTests { Map properties = new HashMap<>(); properties.put("jakarta.persistence.jdbc.url", "jdbc:h2:mem:test"); properties.put("hibernate.dialect", "org.hibernate.dialect.H2Dialect"); - properties.put("hibernate.dialect", "org.hibernate.dialect.H2Dialect"); properties.put("hibernate.hbm2ddl.auto", "update"); EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("benchmark", properties);