jpa-one-to-many-hibernate-feature-image

JPA One To Many example with Hibernate and Spring Boot

In this tutorial, I will show you how to implement Spring JPA One-To-Many mapping with Hibernate in a Spring Boot CRUD example using @ManyToOne annotation. You’ll know:

  • How to configure Spring Data, JPA, Hibernate to work with Database
  • How to define Data Models and Repository interfaces for JPA One-To-Many relationship
  • Way to use Spring JPA to interact with Database for One-To-Many association
  • Way to create Spring Rest Controller to process HTTP requests

Related Posts:
Spring Boot Token based Authentication with Spring Security & JWT
Spring JPA + H2 example
Spring JPA + MySQL example
Spring JPA + PostgreSQL example
Spring JPA + Oracle example
Spring JPA + SQL Server example

Read More

Angular 13 + Spring Boot + MongoDB example: CRUD App

In this tutorial, we will learn how to build a full stack Angular 13 + Spring Boot + MongoDB example with a CRUD App. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data MongoDB for interacting with MongoDB database. Front-end side is made with Angular 13, HttpClient & Router.

More Practice:
Angular + Spring Boot: Pagination example
Angular + Spring Boot: JWT Authentication & Authorization example
Angular + Spring Boot: File upload example

Other versions:
Using Angular 8
Using Angular 10
Using Angular 11
Using Angular 12

Read More

spring-boot-angular-13-postgresql-example-feature-image

Spring Boot + Angular 13 + PostgreSQL example: CRUD App

In this tutorial, we will learn how to build a full stack Angular 13 + Spring Boot + PostgreSQL example with a CRUD App. The back-end server uses Spring Boot with Spring Web MVC for REST Controller and Spring Data JPA for interacting with PostgreSQL database. Front-end side is made with Angular 13, HttpClient, Router and Bootstrap 4.

Older versions:
Angular 10 + Spring Boot + PostgreSQL example: CRUD App
Angular 11 + Spring Boot + PostgreSQL example: CRUD App
Angular 12 + Spring Boot + PostgreSQL example: CRUD App

Security: Angular + Spring Boot: JWT Authentication & Authorization example

Upload: Angular + Spring Boot: File upload example

Pagination: Angular + Spring Boot: Pagination example

Read More