spring-microservices-in-action
spring-microservices-in-action copied to clipboard
Hibernate Mapping Annotation
- Annotations
- OneToMany
- ManyToOne
- Enbedded
- ElementCollection
- Link
- https://www.callicoder.com/hibernate-spring-boot-jpa-one-to-many-mapping-example/
- https://www.callicoder.com/hibernate-spring-boot-jpa-one-to-one-mapping-example/
- https://docs.spring.io/spring-data/data-jpa/docs/current/reference/html/#jpa.query-methods
- One-to-One
- One-to-Many
- One-to-Many: @OneToMany
- Many-to-One: @ManyToOne