- 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
推薦閱讀
- Node.js+Webpack開發實戰
- 軟件項目管理(第2版)
- 構建移動網站與APP:HTML 5移動開發入門與實戰(跨平臺移動開發叢書)
- Python網絡爬蟲從入門到實踐(第2版)
- 基于免疫進化的算法及應用研究
- 21天學通C++(第6版)
- Visual C
- PLC編程與調試技術(松下系列)
- Asynchronous Android Programming(Second Edition)
- RISC-V體系結構編程與實踐(第2版)
- PLC應用技術(三菱FX2N系列)
- ASP.NET程序開發范例寶典
- ArcGIS for Desktop Cookbook
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- 零基礎輕松學C++:青少年趣味編程(全彩版)