Skip to content

Commit

Permalink
Upgrade Hibernate 6.6 builds to Final release.
Browse files Browse the repository at this point in the history
Closes #3573
  • Loading branch information
mp911de committed Aug 12, 2024
1 parent f62d382 commit bd8e398
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 65 deletions.
47 changes: 2 additions & 45 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pipeline {
}
}
}
stage("test: baseline (hibernate 6.5 snapshots)") {
stage("test: baseline (hibernate 6.6)") {
agent {
label 'data'
}
Expand All @@ -94,50 +94,7 @@ pipeline {
script {
docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) {
docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) {
sh "PROFILE=all-dbs,hibernate-65-snapshots " +
"JENKINS_USER_NAME=${p['jenkins.user.name']} " +
"ci/test.sh"
}
}
}
}
}
stage("test: baseline (hibernate 6.6 preview)") {
agent {
label 'data'
}
options { timeout(time: 30, unit: 'MINUTES')}
environment {
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}")
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}")
TESTCONTAINERS_IMAGE_SUBSTITUTOR = 'org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
}
steps {
script {
docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) {
sh "PROFILE=all-dbs,hibernate-66 " +
"JENKINS_USER_NAME=${p['jenkins.user.name']} " +
"ci/test.sh"
}
}
}
}
stage("test: baseline (hibernate 6.6 snapshots)") {
agent {
label 'data'
}
options { timeout(time: 30, unit: 'MINUTES')}
environment {
ARTIFACTORY = credentials("${p['artifactory.credentials']}")
DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}")
TESTCONTAINERS_IMAGE_SUBSTITUTOR = 'org.springframework.data.jpa.support.ProxyImageNameSubstitutor'
}
steps {
script {
docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) {
docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) {
sh "PROFILE=all-dbs,hibernate-66-snapshots " +
sh "PROFILE=all-dbs,hibernate-66 " +
"JENKINS_USER_NAME=${p['jenkins.user.name']} " +
"ci/test.sh"
}
Expand Down
22 changes: 3 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@
<eclipselink>3.0.4</eclipselink>
<eclipselink-next>4.0.2</eclipselink-next>
<hibernate>6.5.0.Final</hibernate>
<hibernate-62>6.2.28.Final</hibernate-62>
<hibernate-65-snapshots>6.5.3-SNAPSHOT</hibernate-65-snapshots>
<hibernate-66>6.6.0.CR1</hibernate-66>
<hibernate-66-snapshots>6.6.0-SNAPSHOT</hibernate-66-snapshots>
<hibernate-62>6.2.30.Final</hibernate-62>
<hibernate-66>6.6.0.Final</hibernate-66>
<hibernate-66-snapshots>6.6.1-SNAPSHOT</hibernate-66-snapshots>
<hibernate-70>7.0.0.Beta1</hibernate-70>
<hibernate-70-snapshots>7.0.0-SNAPSHOT</hibernate-70-snapshots>
<hsqldb>2.7.1</hsqldb>
Expand Down Expand Up @@ -66,21 +65,6 @@
<hibernate>${hibernate-62}</hibernate>
</properties>
</profile>
<profile>
<id>hibernate-65-snapshots</id>
<properties>
<hibernate>${hibernate-65-snapshots}</hibernate>
</properties>
<repositories>
<repository>
<id>sonatype-oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
</repository>
</repositories>
</profile>
<profile>
<id>hibernate-66</id>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public interface TestModelRepository extends JpaRepository<TestModel, Long> {
void countUuid(UUID this_uuid);

@Procedure("countByLocalDate")
void countLocalDate(@Temporal Date localDate);
void countLocalDate(@Temporal Date this_local_date);
}

@EnableJpaRepositories(considerNestedRepositories = true,
Expand Down

0 comments on commit bd8e398

Please sign in to comment.