Closed
Description
Hi,
I wanted to report a bug I noticed when upgrading Spring Boot 2.5.8 → 2.6.2.
After the upgrade the Jdbc @query when returning null it cannot be mapped to String, as before. Now we get an exception Couldn't find PersistentEntity for type class java.lang.String!.
@Query(
"UPDATE tableName SET topography = (" +
"SELECT ST_Multi(ST_Union(s.polygon)) " +
"FROM tableX s " +
"WHERE ... "+
") " +
"WHERE ... " +
"RETURNING ST_AsGeoJson(topography)"
)
String updateTopography(...);
Kind regards