When converting generated queries for Spring Data JDBC repositories, the query can contain a lot of strings in quotes (and therefore escaped quote characters). A better way of writing those queries is to put them into a text block, which then avoid having to escape the quotes.