Skip to content

Commit 7345ba1

Browse files
committed
Switch order of persistence provider dependencies.
Hibernate 6.2 needs to be declared before Eclipselink as the latter pulls in JPA 3.0 but the former now strongly requires 3.1. Related tickets: #2899.
1 parent 2db0f50 commit 7345ba1

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

spring-data-jpa/pom.xml

+7-7
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,6 @@
143143

144144
<!-- Persistence providers -->
145145

146-
<dependency>
147-
<groupId>org.eclipse.persistence</groupId>
148-
<artifactId>org.eclipse.persistence.jpa</artifactId>
149-
<version>${eclipselink}</version>
150-
<optional>true</optional>
151-
</dependency>
152-
153146
<dependency>
154147
<groupId>${hibernate.groupId}.orm</groupId>
155148
<artifactId>hibernate-core</artifactId>
@@ -177,6 +170,13 @@
177170
<version>${jakarta-annotation-api}</version>
178171
</dependency>
179172

173+
<dependency>
174+
<groupId>org.eclipse.persistence</groupId>
175+
<artifactId>org.eclipse.persistence.jpa</artifactId>
176+
<version>${eclipselink}</version>
177+
<optional>true</optional>
178+
</dependency>
179+
180180
<!-- QueryDsl -->
181181
<dependency>
182182
<groupId>com.querydsl</groupId>

0 commit comments

Comments
 (0)