Giter Site home page Giter Site logo

akashneil / spring-data-jpa-mysql Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 59 KB

Project using Spring Data JPA & PostgreSQL.

License: BSD 3-Clause "New" or "Revised" License

Java 100.00%
spring spring-boot java spring-data-jpa spring-data mysql

spring-data-jpa-mysql's Introduction

Spring Data JPA MySQL

Java Spring MySQL Docker


Concepts covered :

  • Connecting Springboot App with DB

  • Mapping Entities with DB

  • Different JPA Annotations

  • Understanding Repositories and their methods

  • @Embeddable and @Embedded

  • Creating JPA Repositories & methods

  • @Query Annotation

  • Native Queries

  • Query Named Params

  • @Transactional and @Modifying Annotation

  • JPA One-To-One Relationship

  • Fetch Types

  • Uni & Bi directional relationship

  • Cascading / Cascade Types

  • JPA One-To-Many Relationship

  • JPA Many-To-One Relationship

  • Paging and Sorting

  • JPA Many-To-Many Relationship

  • @Entity

  • @Id

  • @Table()

  • @Column

  • @SequenceGenerator()

  • @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "student_sequence")

  • @Repository

  • @Modifying (e.g. to update records)

  • @Transactional

  • @OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY, optional = false) (cascade, fetch)

  • @JoinColumn(name = "", referencedColumnName = "") (to which foreign key it will be joined)

  • @ToString(exclude = "") (lombok)

  • @OneToOne(mappedBy = "")

  • Pageable / PageRequest

Spring Data JPA query methods reference : https://docs.spring.io/spring-data/jpa/docs/current/reference/html/#jpa.query-methods

spring-data-jpa-mysql's People

Contributors

akashneil avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.