Community

Java Text Blocks – Using Multiline Strings with Hibernate & JPA

(Thorben Janssen) JPA and Hibernate require you to write lots of Strings. You use them to create ad-hoc and named queries with JPQL, to define native SQL queries and to specify the fetching behavior in an EntityGraph.