Skip to content

Commit

Permalink
Silence Hibernate ORM regarding BV integration
Browse files Browse the repository at this point in the history
This will get fixed in the next Hibernate ORM but let's silence it on
our side for now as people are complaining.
Also silence the warning about incubating settings as we will use some
of them for the compatibility layer we are working on introducing.
  • Loading branch information
gsmet committed Feb 28, 2023
1 parent cf9223e commit bc142ca
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,12 @@ void setupLogFilters(BuildProducer<LogCleanupFilterBuildItem> filters) {
filters.produce(new LogCleanupFilterBuildItem("org.hibernate.jpa.internal.util.LogHelper", "HHH000204"));
filters.produce(new LogCleanupFilterBuildItem("SQL dialect", "HHH000400"));
filters.produce(new LogCleanupFilterBuildItem("org.hibernate.orm.beans", "HHH10005002", "HHH10005004"));
// Disable info logging for Bean Validation implementation not being present:
// it is perfectly valid when set to auto. The error is logged in the caller if it has to be logged.
filters.produce(new LogCleanupFilterBuildItem("org.hibernate.boot.beanvalidation.TypeSafeActivator",
"Error calling "));
// Silence incubating settings warnings as we will use some for compatibility
filters.produce(new LogCleanupFilterBuildItem("org.hibernate.orm.incubating",
"HHH90006001"));
}
}

0 comments on commit bc142ca

Please sign in to comment.