Tag: Orm
8 articles
Handwritten ORM Framework 4: Framework Optimization and DefaultSqlSession Proxy Implementation
Optimize handwritten ORM framework, focusing on getMapper method implementation in DefaultSqlSession, using JDK dynamic proxy to create Mapper interface proxy objects.
Handwritten ORM Framework 3: SqlSession and Executor Working Principles
In-depth analysis of SqlSession and Executor working principles in handwritten ORM framework, detailing implementation mechanisms of SqlSessionFactoryBuilder...
Handwritten ORM Framework 2: Resources, MappedStatement, and XMLBuilder Implementation
In the current project, create under resources: sqlMapConfig.xml mapper.xml
Handwritten ORM Framework 1 - JDBC Problems and Solutions
First article in the handwritten ORM framework series, introducing problems and disadvantages of traditional JDBC development and ORM framework design ideas and solutions.
MyBatis Deep Dive - Many-to-Many Model with Collection Tags
In database design, a "many-to-many" relationship means records in two tables can be associated with each other, with multiple records associated with multiple records.
MyBatis Deep Dive - One-to-Many Model with Collection Tags
In database design, one-to-many (One-to-Many) relationship is one of the most common relationship models.
MyBatis Deep Dive - One-to-One Mapping, SqlMapConfig and Mapper XML Configuration
Detailed explanation of one-to-one model mapping in MyBatis, including database table design, Java entity class definitions, Mapper interface and XML configuration.
MyBatis Deep Dive - ORM Concepts, Mapping Relations and Quick Start
ORM stands for Object/Relation Mapping: an abbreviation for object-relation mapping.