Skip to content

Commit

Permalink
Register JDBC RowSet required bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed Jan 23, 2024
1 parent e369f29 commit 9661266
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
import io.quarkus.deployment.builditem.RemovedResourceBuildItem;
import io.quarkus.deployment.builditem.SslNativeConfigBuildItem;
import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBundleBuildItem;
import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
import io.quarkus.deployment.pkg.builditem.CurateOutcomeBuildItem;
import io.quarkus.maven.dependency.ArtifactKey;
Expand Down Expand Up @@ -408,4 +409,9 @@ void adaptOpenTelemetryJdbcInstrumentationForNative(BuildProducer<RemovedResourc
Set.of("io/opentelemetry/instrumentation.jdbc/internal/JdbcSingletons")));
}
}

@BuildStep
NativeImageResourceBundleBuildItem registerRowSetResourceBundle() {
return new NativeImageResourceBundleBuildItem("com.sun.rowset.RowSetResourceBundle");
}
}

0 comments on commit 9661266

Please sign in to comment.