File tree 3 files changed +4
-90
lines changed
spring-data-jpa/src/test/java/org/springframework/data/jpa/repository/query
3 files changed +4
-90
lines changed Original file line number Diff line number Diff line change @@ -58,50 +58,6 @@ pipeline {
58
58
}
59
59
60
60
parallel {
61
- stage(" test: hibernate 6.2 (LTS)" ) {
62
- agent {
63
- label ' data'
64
- }
65
- options { timeout(time : 30 , unit : ' MINUTES' )}
66
- environment {
67
- ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
68
- DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
69
- TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
70
- }
71
- steps {
72
- script {
73
- docker. withRegistry(p[' docker.proxy.registry' ], p[' docker.proxy.credentials' ]) {
74
- docker. image(p[' docker.java.next.image' ]). inside(p[' docker.java.inside.docker' ]) {
75
- sh " PROFILE=all-dbs,hibernate-62 " +
76
- " JENKINS_USER_NAME=${ p['jenkins.user.name']} " +
77
- " ci/test.sh"
78
- }
79
- }
80
- }
81
- }
82
- }
83
- stage(" test: baseline (hibernate 6.6 snapshots)" ) {
84
- agent {
85
- label ' data'
86
- }
87
- options { timeout(time : 30 , unit : ' MINUTES' )}
88
- environment {
89
- ARTIFACTORY = credentials(" ${ p['artifactory.credentials']} " )
90
- DEVELOCITY_ACCESS_KEY = credentials(" ${ p['develocity.access-key']} " )
91
- TESTCONTAINERS_IMAGE_SUBSTITUTOR = ' org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
92
- }
93
- steps {
94
- script {
95
- docker. withRegistry(p[' docker.proxy.registry' ], p[' docker.proxy.credentials' ]) {
96
- docker. image(p[' docker.java.next.image' ]). inside(p[' docker.java.inside.docker' ]) {
97
- sh " PROFILE=all-dbs,hibernate-66-snapshots " +
98
- " JENKINS_USER_NAME=${ p['jenkins.user.name']} " +
99
- " ci/test.sh"
100
- }
101
- }
102
- }
103
- }
104
- }
105
61
stage(" test: java.next (next)" ) {
106
62
agent {
107
63
label ' data'
Original file line number Diff line number Diff line change 28
28
29
29
<properties >
30
30
<antlr >4.13.0</antlr > <!-- align with Hibernate's parser -->
31
- <eclipselink >4.0.5</eclipselink >
32
- <eclipselink-next >4.0.6-SNAPSHOT</eclipselink-next >
33
- <hibernate >6.6.11.Final</hibernate >
34
- <hibernate-62 >6.2.33.Final</hibernate-62 >
35
- <hibernate-66-snapshots >6.6.12-SNAPSHOT</hibernate-66-snapshots >
36
- <hibernate-70 >7.0.0.Beta5</hibernate-70 >
31
+ <eclipselink >4.0.4</eclipselink >
32
+ <eclipselink-next >4.0.5-SNAPSHOT</eclipselink-next >
33
+ <hibernate >7.0.0.Beta1</hibernate >
37
34
<hibernate-70-snapshots >7.0.0-SNAPSHOT</hibernate-70-snapshots >
38
35
<hsqldb >2.7.4</hsqldb >
39
36
<h2 >2.3.232</h2 >
47
44
<hibernate .groupId>org.hibernate</hibernate .groupId>
48
45
49
46
<sonar .dynamicAnalysis>reuseReports</sonar .dynamicAnalysis>
50
-
51
47
</properties >
52
48
53
49
<modules >
58
54
59
55
60
56
<profiles >
61
- <profile >
62
- <id >hibernate-62</id >
63
- <properties >
64
- <hibernate >${hibernate-62}</hibernate >
65
- </properties >
66
- </profile >
67
- <profile >
68
- <id >hibernate-66-snapshots</id >
69
- <properties >
70
- <hibernate >${hibernate-66-snapshots}</hibernate >
71
- </properties >
72
- <repositories >
73
- <repository >
74
- <id >sonatype-oss</id >
75
- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
76
- <releases >
77
- <enabled >false</enabled >
78
- </releases >
79
- </repository >
80
- </repositories >
81
- </profile >
82
- <profile >
83
- <id >hibernate-70</id >
84
- <properties >
85
- <hibernate >${hibernate-70}</hibernate >
86
- <jakarta-persistence-api >3.2.0</jakarta-persistence-api >
87
- <antlr >4.13.2</antlr >
88
- </properties >
89
- <repositories >
90
- <repository >
91
- <id >sonatype-oss</id >
92
- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
93
- <releases >
94
- <enabled >false</enabled >
95
- </releases >
96
- </repository >
97
- </repositories >
98
- </profile >
99
57
<profile >
100
58
<id >hibernate-70-snapshots</id >
101
59
<properties >
Original file line number Diff line number Diff line change 32
32
import jakarta .persistence .criteria .From ;
33
33
import jakarta .persistence .criteria .Join ;
34
34
import jakarta .persistence .criteria .JoinType ;
35
+ import jakarta .persistence .criteria .Nulls ;
35
36
import jakarta .persistence .criteria .Path ;
36
37
import jakarta .persistence .criteria .Root ;
37
38
import jakarta .persistence .spi .PersistenceProvider ;
@@ -127,7 +128,6 @@ void prefersFetchOverJoin() {
127
128
128
129
assertThat (expr .getParentPath ()).hasFieldOrPropertyWithValue ("fetched" , true );
129
130
assertThat (from .getFetches ()).hasSize (1 );
130
- assertThat (from .getJoins ()).hasSize (1 );
131
131
}
132
132
133
133
@ Test // DATAJPA-401, DATAJPA-1238
You can’t perform that action at this time.
0 commit comments