Daggerpov / Spawn-App-Back-End

Back-end REST API for the Spawn mobile app, written in Java Spring Boot, and connected to a MySQL database.
Other
2 stars 0 forks source link

Create relations between DTOs and Entities #37

Closed Daggerpov closed 5 hours ago

Daggerpov commented 1 day ago

https://medium.com/@bdamianchamel/relationships-in-spring-data-jpa-7c5ceaf05f29

With spring data JPA (Java Persistence API), there are annotations available for marking with our entities: @OneToOne, @OneToMany, @ManyToMany

Daggerpov commented 5 hours ago

@evannawfal 's done this in #41