I'm migrating my service to Quarkus from SpringBoot stack. Why the following code doesn't work in Quarkus? Is that a bug?
public interface GenericDictionaryRepository extends
JpaRepository<Dictionary, UUID> {
@Query("select distinct(d.type) from Dictionary d order by d.type")
List<String> findAllTypes();
}
Error message
io.quarkus.builder.BuildException: Build failure: Build failed due to errors
[error]: Build step io.quarkus.spring.data.deployment.SpringDataJPAProcessor#build threw an exception: java.lang.IllegalStateException: java.lang.String was not part of the Quarkus index
My version properties for Gradle:
quarkusPluginVersion=1.3.1.Final
quarkusPlatformArtifactId=quarkus-universe-bom
quarkusPlatformGroupId=io.quarkus
quarkusPlatformVersion=1.3.1.Final