Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
This reverts commit 20940a5.
  • Loading branch information
yrodiere committed Aug 1, 2024
1 parent 4d0983b commit aabb7cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ private static DotName createConstant(String fqcn) {
createConstant("org.hibernate.tuple.UpdateTimestampGeneration"),
createConstant("org.hibernate.tuple.VmValueGeneration"));

public static final List<DotName> EXTRA_EVENT_LISTENERS = List.of(
createConstant("org.hibernate.event.spi.PreUpsertEventListener"),
createConstant("org.hibernate.event.spi.PostUpsertEventListener"));

public static final List<DotName> PACKAGE_ANNOTATIONS = List.of(
createConstant("org.hibernate.annotations.CollectionTypeRegistration"),
createConstant("org.hibernate.annotations.CompositeTypeRegistration"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package io.quarkus.hibernate.orm.deployment;

import static io.quarkus.hibernate.orm.deployment.ClassNames.EXTRA_EVENT_LISTENERS;
import static io.quarkus.hibernate.orm.deployment.ClassNames.GENERATORS;

import org.jboss.jandex.DotName;
Expand All @@ -22,14 +21,6 @@ NativeImageFeatureBuildItem staticNativeImageFeature() {
return new NativeImageFeatureBuildItem("org.hibernate.graalvm.internal.GraalVMStaticFeature");
}

// Workaround for https://hibernate.atlassian.net/browse/HHH-18284
@BuildStep
ReflectiveClassBuildItem registerMissingListenerClassesForReflections() {
return ReflectiveClassBuildItem
.builder(EXTRA_EVENT_LISTENERS.stream().map(d -> d.toString() + "[]").toArray(String[]::new))
.build();
}

// Workaround for https://hibernate.atlassian.net/browse/HHH-16439
@BuildStep
ReflectiveClassBuildItem registerGeneratorClassesForReflections() {
Expand Down

0 comments on commit aabb7cc

Please sign in to comment.