Spring Data provides a multiple ways to implement a query. In this tutorial, we demonstrate how to use the @Query annotation to define JPQL (Java Persistence Query Language) and native queries in Spring Data JPA.
ReadHow to calculate days between two dates in Java 8, with LocalDate, LocalDateTime or ChronoUnit
ReadHow to escape SQL reserved keywords with Spring boot, JPA and Hibernate. solution to java.sql.SQLException You have an error in your SQL syntax; check the manual that corresponds to your ...
ReadSpring Boot lets you externalize configuration with @ConfigurationProperties or @Value annotations so that you can work with the same application code in different environments. You can use properties files or YAML files, to externalize configuration.
Read