Spring Data JPA

Spring Data JPA @Query

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.

Read
Java

Java 8 – How to calculate days between two dates ?

How to calculate days between two dates in Java 8, with LocalDate, LocalDateTime or ChronoUnit

Read
Hibernate

How to escape SQL reserved keywords with Spring boot, JPA and Hibernate

How 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 ...

Read
Spring Boot

Externalized Configuration of Spring Boot application with @ConfigurationProperties

Spring 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

Cookie settings

This website uses cookies to ensure you get the best experience on our website. Learn more

Save settings

Necessary cookies

Some cookies are required to provide core functionality. The website won't function properly without these cookies and they are enabled by default.

Analytical cookies

Analytical cookies help us improve our website by collecting and reporting information on its usage.

Marketing cookies

Marketing cookies are used to track visitors across websites to allow publishers to display relevant ads.