官术网_书友最值得收藏!

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
主站蜘蛛池模板: 凤冈县| 金寨县| 滦南县| 苏州市| 漾濞| 光泽县| 阳春市| 宜川县| 门源| 胶南市| 资讯 | 龙川县| 潞西市| 泽库县| 西城区| 吉林市| 哈尔滨市| 奉贤区| 宁国市| 罗田县| 德格县| 惠东县| 锡林浩特市| 永兴县| 宁安市| 定日县| 东安县| 新和县| 五莲县| 余姚市| 饶阳县| 平顶山市| 灯塔市| 兴化市| 洮南市| 准格尔旗| 缙云县| 图木舒克市| 大洼县| 九龙城区| 乐陵市|