- Hands-On Full Stack Development with Spring Boot 2.0 and React
- Juha Hinkula
- 121字
- 2021-06-25 21:00:23
Using JPA to Create and Access a Database
This chapter covers how to use JPA with Spring Boot. We will create a database by using entity classes. In the first phase, we will be using the H2 in-memory database for development and demonstration purposes. H2 is an in-memory SQL database that is really good for fast development or demonstration purposes. In the second phase, we will move from H2 to use MariaDB. This chapter also describes the creation of CRUD repositories and a one-to-many connection between database tables.
In this chapter, we will look at the following:
- Basics and benefits of using JPA
- How to define a database by using entity classes
- How to create Spring Boot backend with a database
推薦閱讀
- C語言程序設計實踐教程(第2版)
- R語言游戲數據分析與挖掘
- 信息安全技術
- Mastering Scientific Computing with R
- Hands-On Microservices with Kotlin
- 琢石成器:Windows環境下32位匯編語言程序設計
- 名師講壇:Spring實戰開發(Redis+SpringDataJPA+SpringMVC+SpringSecurity)
- Spring快速入門
- 新一代SDN:VMware NSX 網絡原理與實踐
- 用案例學Java Web整合開發
- C語言程序設計實踐
- C語言程序設計與應用實驗指導書(第2版)
- Scratch編程從入門到精通
- Java EE輕量級解決方案:S2SH
- MySQL數據庫教程(視頻指導版)