- 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
推薦閱讀
- Learn TypeScript 3 by Building Web Applications
- Spring 5企業(yè)級開發(fā)實戰(zhàn)
- SoapUI Cookbook
- 大學(xué)計算機應(yīng)用基礎(chǔ)實踐教程
- 計算機圖形學(xué)編程(使用OpenGL和C++)(第2版)
- 趣學(xué)Python算法100例
- UML 基礎(chǔ)與 Rose 建模案例(第3版)
- jQuery Mobile移動應(yīng)用開發(fā)實戰(zhàn)(第3版)
- Android群英傳
- 人工智能算法(卷1):基礎(chǔ)算法
- 零代碼實戰(zhàn):企業(yè)級應(yīng)用搭建與案例詳解
- QGIS 2 Cookbook
- 創(chuàng)意UI Photoshop玩轉(zhuǎn)移動UI設(shè)計
- Mastering jQuery Mobile
- Kotlin進階實戰(zhàn)