Skip to content

Spring JPA One To One unidirectional mapping with Hibernate in a Spring Boot example using @OnetoOne annotation.

Notifications You must be signed in to change notification settings

bezkoder/jpa-one-to-one-unidirectional

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JPA One To One Unidirectional example with Hibernate and Spring Boot

Implement JPA/Hibernate One-To-One Unidirectional mapping with Hibernate in a Spring Boot CRUD example using @OneToOne annotation

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

For more detail, please visit:

JPA One To One example with Spring Boot

More Practice:

JPA One To Many example with Spring Boot

JPA Many To Many example with Spring Boot

Spring Boot CRUD Rest API example

Spring Boot File upload example with Multipart File

Spring Boot Pagination & Filter example | Spring JPA, Pageable

Spring Data JPA Sort/Order by multiple Columns | Spring Boot

Spring Boot Repository Unit Test with @DataJpaTest

Security:

Spring Boot + Spring Security JWT Authentication & Authorization

Deployment:

Deploy Spring Boot App on AWS – Elastic Beanstalk

Docker Compose Spring Boot and MySQL example

Fullstack:

Vue + Spring Boot + H2 Embedded database example

Vue + Spring Boot + MySQL example

Vue + Spring Boot + PostgreSQL example

Angular 8 + Spring Boot + Embedded database example

Angular 8 + Spring Boot + MySQL example

Angular 8 + Spring Boot + PostgreSQL example

Angular 10 + Spring Boot + MySQL example

Angular 10 + Spring Boot + PostgreSQL example

Angular 11 + Spring Boot + MySQL example

Angular 11 + Spring Boot + PostgreSQL example

Angular 12 + Spring Boot + Embedded database example

Angular 12 + Spring Boot + MySQL example

Angular 12 + Spring Boot + PostgreSQL example

Angular 13 + Spring Boot + H2 Embedded Database example

Angular 13 + Spring Boot + MySQL example

Angular 13 + Spring Boot + PostgreSQL example

Angular 14 + Spring Boot + H2 Embedded Database example

Angular 14 + Spring Boot + MySQL example

Angular 14 + Spring Boot + PostgreSQL example

Angular 15 + Spring Boot + H2 Embedded Database example

Angular 15 + Spring Boot + MySQL example

Angular 15 + Spring Boot + PostgreSQL example

Angular 16 + Spring Boot + H2 Embedded Database example

Angular 16 + Spring Boot + MySQL example

Angular 16 + Spring Boot + PostgreSQL example

React Redux + Spring Boot example

React + Spring Boot + MySQL example

React + Spring Boot + PostgreSQL example

Run both Back-end & Front-end in one place:

Integrate Angular with Spring Boot Rest API

Integrate React with Spring Boot Rest API

Integrate Vue with Spring Boot Rest API

Run Spring Boot application

mvn spring-boot:run

Releases

No releases published

Packages

No packages published

Languages