Skip to content

Commit

Permalink
Upgrade: Hibernate ORM 6.2.11.Final and Reactive 2.0.6.Final
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Oct 5, 2023
1 parent 841b3a1 commit 0132cbd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@
<classmate.version>1.5.1</classmate.version>
<!-- When updating, align bytebuddy.version to Hibernate needs as well (just below),
as well as hibernate-orm.version-for-documentation in docs/pom.xml -->
<hibernate-orm.version>6.2.9.Final</hibernate-orm.version>
<hibernate-orm.version>6.2.11.Final</hibernate-orm.version>
<bytebuddy.version>1.14.7</bytebuddy.version> <!-- Version controlled by Hibernate ORM's needs -->
<hibernate-commons-annotations.version>6.0.6.Final</hibernate-commons-annotations.version> <!-- version controlled by Hibernate ORM -->
<hibernate-reactive.version>2.0.5.Final</hibernate-reactive.version>
<hibernate-reactive.version>2.0.6.Final</hibernate-reactive.version>
<hibernate-validator.version>8.0.1.Final</hibernate-validator.version>
<!-- When updating, align hibernate-search.version-for-documentation in docs/pom.xml -->
<hibernate-search.version>6.2.2.Final</hibernate-search.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,13 @@ void setupLogFilters(BuildProducer<LogCleanupFilterBuildItem> filters) {
"HHH90006001"));
// https://hibernate.atlassian.net/browse/HHH-16546
filters.produce(new LogCleanupFilterBuildItem("org.hibernate.tuple.entity.EntityMetamodel", "HHH000157"));

//This "deprecation" warning isn't practical for the specific Quarkus needs, as it reminds users they don't need
//to set the 'hibernate.dialect' property, however it's being set by Quarkus buildsteps so they can't avoid it.
//Ignore for now, perhaps remove it upstream however this may make sense for other Hibernate users.
//Wondering if we should have the Quarkus build differentiate between an explicitly set vs an inferred Dialect
//property (we have a custom DialectFactory already so this could be trivial), however even in this case ORM
//can't guess things since there is no connection, so even if we did so, this message wouldn't be applicable.
filters.produce(new LogCleanupFilterBuildItem("org.hibernate.orm.deprecation", "HHH90000025"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ private static void ignoreInternalAnnotations(Set<DotName> annotationSet) {
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.Incubating"));
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.Internal"));
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.Remove"));
annotationSet.removeIf(name -> name.toString().equals("org.hibernate.service.JavaServiceLoadable"));
}

@Test
Expand Down

0 comments on commit 0132cbd

Please sign in to comment.