This repository teachs you all important concepts and annotations of Data JPA (Hibernate-ORM). I have built a project with classes in picture below:
- Mapping Entities with DB
- Understanding Repositories and their methods
- @Embeddable and @Embedded
- @Query Annotation (JPQL and Native SQL)
- @Param Query Named Params
- @Transactional and @Modifying Annotation
- JPA One-To-One Relationship (@JoinColumn, Cascade, Fetch, mappedBy, optional)
- Uni & Bi directional relationship
- JPA One-To-Many Relationship
- JPA Many-To-One Relationship
- Paging and Sorting
- JPA Many-To-Many Relationship (joinColumns, inverseJoinColumns)