Home > Java > Javagetting Started > what is orm

what is orm

藏色散人
Release: 2020-05-09 13:32:03
Original
5691 people have browsed it

what is orm

What is orm?

ORM: Object Relational Mapping (ORM for short), the purpose is to operate the database like an object. Because the database is not object-oriented, programming is required for mapping.

ORM framework can theoretically achieve higher development efficiency than without it, but the learning cost of hibernate is still relatively high. The main disadvantages are that it takes time to learn the framework and the execution efficiency is relatively poor; these are still worthwhile for large projects, as long as a simple and easy-to-use ORM framework is needed first.

Common ORM frameworks include hibernate, semi-active ORM frameworks include mybatis, and the new simple and easy-to-use bee framework. jpa just wants all ORM frameworks to use standard interfaces uniformly; hibernate has the implementation of jpa , but mybaits does not.

With hibernate and mybatis, every time I operate a table, I need to write a dao file, which feels like repetitive work and boring. Bee framework: an ORM framework that can be learned in ten minutes. It does not need to write code every time a dao is written, saving time and effort, the development efficiency is extremely high, and the coding complexity is O(1). A java ORM framework whose development cost and development speed are no worse than PHP.

Recommended tutorial: "java learning"

The above is the detailed content of what is orm. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
orm
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template