spring-boot-angular-14-mysql-example-crud-feature-image

Spring Boot + Angular 14 + MySQL: CRUD example

In this tutorial, we will learn how to build a full stack Angular 14 + Spring Boot + MySQL 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 MySQL database. Front-end side is made with Angular 14, HTTPClient, Router and Bootstrap 4.

Older versions:
Angular 10 + Spring Boot + MySQL CRUD example
Angular 11 + Spring Boot + MySQL CRUD example
Angular 12 + Spring Boot + MySQL CRUD example
Angular 13 + Spring Boot + MySQL CRUD example

Security: Angular + Spring Boot: JWT Authentication example

Upload: Angular + Spring Boot: File upload example

Pagination: Angular + Spring Boot: Pagination example

Read More

spring-boot-angular-14-example-crud-feature-image

Spring Boot + Angular 14 example: CRUD (full stack)

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

Run both Project on same server/port:
How to Integrate Angular with Spring Boot Rest API

Security: Angular + Spring Boot: JWT Authentication example

Upload: Angular + Spring Boot: File upload/download example

Pagination: Angular + Spring Boot: Pagination example

Read More

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

JPA/Hibernate One To Many Unidirectional example Spring Boot

In this tutorial, I will show you how to implement Spring JPA One-To-Many Unidirectional mapping with Hibernate in a Spring Boot example using @OneToMany 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 Unidirectional mapping
  • Way to use Spring JPA to interact with Database for One-To-Many Unidirectional association
  • Way to create Spring Rest Controller to process HTTP requests

Related Posts:
JPA Many to One example
JPA Many to Many example
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

jpa-entitymanager-spring-boot-feature-image

JPA EntityManager example in Spring Boot

In this tutorial, you will know how to use JPA EntityManager in Spring Boot example (with CRUD operations and query methods). I will show you:

  • Way to access JPA EntityManager in Spring Boot
  • How to use EntityManager methods: execute SQL query using createQuery and CRUD operations
  • JPA EntityManager query with parameters

Related Posts:
JPA Native Query example
Spring JPA Derived query example
Spring JPA @Query example
Spring Boot, Spring Data JPA – Rest CRUD API example
Spring Boot Pagination and Sorting example
Spring Boot File upload example with Multipart File
Spring Boot 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

Associations:
JPA One To Many example with Hibernate and Spring Boot
JPA Many to Many example with Hibernate in Spring Boot

Read More