-
Here is the list of important components in this SpringBoot Application.
-
Entities
Invoice
InvoiceLine
-
Repository Interfaces
InvoiceRepository
InvoiceLineRepository
-
Tables
invoice
invoice_line
-
-
This sample application demonstrates the bi-directional assocaition between
Invoice
andInvoiceLine
entities using JPA annitations@OneToMany
and@ManyToOne
. -
Also it throws some light on usage of
CascadeType.ALL
,orhpanRemoval=true
, andFetchType.EAGER
-
Notifications
You must be signed in to change notification settings - Fork 0
One to Many and Many to One JPA Mapping sample with Spring Boot and H2 DB
License
sairaghavak/otm-and-mto-jpa-mapping-with-spring-boot
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
One to Many and Many to One JPA Mapping sample with Spring Boot and H2 DB
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published