Skip to content

Commit 40386ac

Browse files
committed
Switch to TCK version 3.1.6 and a new base image
1 parent 0fa8fed commit 40386ac

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

ci/jpa-3.1-tck.Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ pipeline {
2626
}
2727
parameters {
2828
choice(name: 'IMAGE_JDK', choices: ['jdk11'], description: 'The JDK base image version to use for the TCK image.')
29-
string(name: 'TCK_VERSION', defaultValue: '3.1.2', description: 'The version of the Jakarta JPA TCK i.e. `2.2.0` or `3.0.1`')
30-
string(name: 'TCK_SHA', defaultValue: '618a9fcdb0f897cda71227ed57d035ae1dc40fc392318809a734ffc6968e43ff', description: 'The SHA256 of the Jakarta JPA TCK that is distributed under https://download.eclipse.org/jakartaee/persistence/3.1/jakarta-persistence-tck-${TCK_VERSION}.zip.sha256')
29+
string(name: 'TCK_VERSION', defaultValue: '3.1.6', description: 'The version of the Jakarta JPA TCK i.e. `2.2.0` or `3.0.1`')
30+
string(name: 'TCK_SHA', defaultValue: '790ca7a2a95ea098cfedafa2689c0d7a379fa62c74fed9505dd23191292f59fe', description: 'The SHA256 of the Jakarta JPA TCK that is distributed under https://download.eclipse.org/jakartaee/persistence/3.1/jakarta-persistence-tck-${TCK_VERSION}.zip.sha256')
3131
booleanParam(name: 'NO_SLEEP', defaultValue: true, description: 'Whether the NO_SLEEP patch should be applied to speed up the TCK execution')
3232
}
3333
stages {
3434
stage('Build') {
3535
steps {
3636
script {
3737
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
38-
docker.image('openjdk:11-jdk').pull()
38+
docker.image('eclipse-temurin:11').pull()
3939
}
4040
}
4141
dir('hibernate') {

hibernate-core/src/main/java/org/hibernate/boot/model/internal/OneToOneSecondPass.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ private void bindUnowned(Map<String, PersistentClass> persistentClasses, OneToOn
102102
}
103103
else if ( !(targetPropertyValue instanceof OneToOne) ) {
104104
throw new AnnotationException( "Association '" + getPath( propertyHolder, inferredData )
105-
+ "' is 'mappedBy' a property named '" + mappedBy
106-
+ "' of the target entity type '" + targetEntityName
107-
+ "' which is not a '@OneToOne' or '@ManyToOne' association" );
105+
+ "' is 'mappedBy' a property named '" + mappedBy
106+
+ "' of the target entity type '" + targetEntityName
107+
+ "' which is not a '@OneToOne' or '@ManyToOne' association" );
108108
}
109109
checkMappedByType(
110110
mappedBy,

0 commit comments

Comments
 (0)