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

Basics of ORM, JPA, and Hibernate

Object-Relational Mapping (ORM) is a technique that allows you to fetch and manipulate from a database by using an object-oriented programming paradigm. ORM is really nice for programmers because it relies on object-oriented concepts, not on database structure. It also makes development much faster and reduces the amount of source code. ORM is mostly independent of the databases and developers don't have to worry about vendor-specific SQL statements.

Java Persistent API (JPA) provides object-relational mapping for Java developers. The JPA entity is a Java class that presents the structure of a database table. The fields of an entity class present the columns of the database tables.

Hibernate is the most popular Java-based JPA implementation, and it is used in Spring Boot as a default. Hibernate is a mature product and it is widely used in large-scale applications.

主站蜘蛛池模板: 稻城县| 屏山县| 昭觉县| 巴彦淖尔市| 英山县| 砚山县| 天津市| 栖霞市| 中卫市| 凌海市| 丹阳市| 翁源县| 定襄县| 德令哈市| 田阳县| 舒城县| 来安县| 集贤县| 常山县| 上杭县| 建宁县| 盘山县| 冷水江市| 滨海县| 清涧县| 香格里拉县| 荔浦县| 西林县| 铁力市| 双江| 文安县| 富民县| 教育| 渑池县| 嘉定区| 诸城市| 财经| 贵德县| 会理县| 海安县| 行唐县|