Spring boot + Spring Data JPA + PostgreSQL example
Before starting the example let's understand what is spring boot, spring data JPA and Postgresql. What is a Spring boot? Spring Boot is an open-source Java framework that simplifies the…
Before starting the example let's understand what is spring boot, spring data JPA and Postgresql. What is a Spring boot? Spring Boot is an open-source Java framework that simplifies the…
In this post, I will share some free and paid weather APIs you can use in your project. The weather has an effect on almost every aspect of our life.…
The java.util package provides the Calender class, which has many methods to compute the last day, week, month, and year. Let's dive into it. Import the following package to work…
In this post, I will show you how to implement Spring JPA One-to-Many unidirectional mapping with Hibernate in Spring Boot with an example using @OneToMany annotation. What you need JDK…
In this post, I'm going to show you how to convert HTML input type datetime-local to a timestamp in java. import java.sql.Timestamp; import java.time.LocalDateTime; import java.time.format.DateTimeFormatter; //--------------------------------------- String valueFromHtml =…