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

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.

主站蜘蛛池模板: 交城县| 宁安市| 霍邱县| 图木舒克市| 渑池县| 建宁县| 灵台县| 望城县| 博野县| 枝江市| 崇礼县| 海阳市| 房产| 广宁县| 融水| 江西省| 彭州市| 宁城县| 龙州县| 宽甸| 安吉县| 白城市| 广南县| 昌江| 延边| 拜城县| 桦甸市| 托克托县| 万年县| 新泰市| 萍乡市| 尚志市| 海林市| 深州市| 五家渠市| 霍林郭勒市| 乌兰县| 德钦县| 贵阳市| 扶绥县| 三都|