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

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.

主站蜘蛛池模板: 西乌珠穆沁旗| 鄢陵县| 中方县| 绩溪县| 岫岩| 方城县| 陇南市| 亳州市| 沙田区| 三都| 漯河市| 怀化市| 清苑县| 灌阳县| 石河子市| 屏南县| 刚察县| 灵丘县| 大余县| 嵩明县| 东丽区| 滦南县| 稷山县| 冕宁县| 丰镇市| 承德市| 腾冲县| 扶绥县| 云阳县| 方城县| 太谷县| 宁蒗| 云梦县| 大安市| 巴里| 保德县| 都兰县| 防城港市| 舞阳县| 鄄城县| 西盟|