diff --git a/integration-tests/jpa-oracle/src/main/java/io/quarkus/example/jpaoracle/SerializationTestEndpoint.java b/integration-tests/jpa-oracle/src/main/java/io/quarkus/example/jpaoracle/SerializationTestEndpoint.java index ff7132a9c93c5..4f2198680a28b 100644 --- a/integration-tests/jpa-oracle/src/main/java/io/quarkus/example/jpaoracle/SerializationTestEndpoint.java +++ b/integration-tests/jpa-oracle/src/main/java/io/quarkus/example/jpaoracle/SerializationTestEndpoint.java @@ -11,8 +11,11 @@ import jakarta.ws.rs.Produces; import jakarta.ws.rs.core.MediaType; +import io.quarkus.runtime.annotations.RegisterForReflection; + @Path("/jpa-oracle/testserialization") @Produces(MediaType.TEXT_PLAIN) +@RegisterForReflection(targets = { String.class }, serialization = true) public class SerializationTestEndpoint { @GET