Home  >  Article  >  Java  >  What are the ORM frameworks in Java?

What are the ORM frameworks in Java?

王林
王林forward
2023-05-04 11:55:313731browse

1.Hiberante

Object-oriented ORM,The learning cost is relatively high.

2.Mybatis

Semi-automatic ORM framework, you need to write sql yourself, which facilitates the separation of sql and java code. The so-called "semi-automatic" here is relative to the full table mapping of the Hibernate framework. The MyBatis framework needs to manually match and provide POJO, SQL and mapping relationships, while the Hibernate framework only needs to provide POJO and mapping relationships.

3.Bee

A new ORM framework, while Specifying the advantages of Hiberante and Mybatis. You can operate the database by operating objects like Hibernate, or you can write sql flexibly like Mybatis

4.IBATIS

The word iBATIS comes from "internet" and The combination of "abatis" is an open source project launched by Clinton Begin in 2001. Initially focused on the development of cryptographic software, it is now a Java-based persistence layer framework. The persistence layer framework provided by iBATIS includes SQL Maps and Data Access Objects (DAO), and also provides a JPetStore instance developed using this framework.

iBATIS currently provides versions implemented in three languages, including: Java, .NET and Ruby.

5.JOOQ

JAVA’s ORM framework, jOOQ efficiently combines complex SQL, type safety, source code generation, Active Records, and storage Java class library for procedures and advanced data types.

What are the advantages of Java

1. Simple. As long as you understand the basic concepts, you can write applications suitable for various situations;

2. Object-oriented ;

3. Distribution, Java is a network-oriented language;

4. Robustness, Java provides automatic garbage collection for memory management, preventing programmers from easily generating errors when managing memory. Error;

5. Security, Java used in network and distributed environments must prevent virus intrusion;

6. Architecture neutrality, as long as the Java runtime system is installed, Can run on any processor;

7. Portability, Java can be easily transplanted to different machines on the network;

8. Interpretation and execution, the Java interpreter directly interprets Java words Section code is interpreted and executed.

The above is the detailed content of What are the ORM frameworks in Java?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete