Tag

SQL Mapping

0 views collected around this technical thread.

Top Architect
Top Architect
Jun 5, 2024 · Backend Development

Advanced MyBatis Dynamic SQL Techniques and Best Practices

This article provides a comprehensive guide to MyBatis dynamic SQL, covering foreach loops, conditional if, choose, selectKey, trim, and sql fragments, with detailed explanations and full XML and Java code examples to help developers write efficient, error‑free mappings.

Dynamic SQLJavaMyBatis
0 likes · 20 min read
Advanced MyBatis Dynamic SQL Techniques and Best Practices
Java Architect Essentials
Java Architect Essentials
Mar 14, 2024 · Backend Development

Understanding MyBatis Dynamic SQL and Tag Usage

This article explains MyBatis dynamic SQL, its purpose, and how to use various tags such as if, where, trim, choose, foreach, include, sql, resultMap, association, and collection, providing detailed code examples and best‑practice guidelines for building flexible and secure SQL statements in Java applications.

Backend DevelopmentDynamic SQLJava
0 likes · 15 min read
Understanding MyBatis Dynamic SQL and Tag Usage
Java Architect Essentials
Java Architect Essentials
Dec 22, 2023 · Backend Development

A Comprehensive Overview of MyBatis Architecture and Core Components

This article provides a detailed, global‑level review of MyBatis, covering its main features such as SQL mapping, dynamic SQL, parameter and result mapping, transaction management, connection‑pool integration, second‑level cache, as well as the three‑layer architecture, configuration parsing, proxy creation, and SQL execution process.

JavaMyBatisORM
0 likes · 9 min read
A Comprehensive Overview of MyBatis Architecture and Core Components
Top Architect
Top Architect
Jun 20, 2022 · Backend Development

Understanding How MyBatis‑Plus Maps Mapper Methods to SQL Statements and Executes Database Operations

This article provides a detailed walkthrough of MyBatis‑Plus internals, covering the auto‑configuration of SqlSessionFactory, parsing of mapper XML and annotations, registration of mapper interfaces via @MapperScan, creation of dynamic proxies, and the final assembly of executable SQL scripts for database interactions.

JavaMapperMyBatis-Plus
0 likes · 15 min read
Understanding How MyBatis‑Plus Maps Mapper Methods to SQL Statements and Executes Database Operations
Architecture Digest
Architecture Digest
Dec 4, 2016 · Backend Development

Comprehensive Guide to MyBatis: Concepts, Configuration, SQL Mapping, and Dynamic SQL

This article provides a thorough overview of MyBatis, covering its core concepts, architecture, Spring integration, configuration elements, SQL mapping techniques, dynamic SQL tags, and practical usage tips such as type aliases, ResultMap, caching, and the differences between #{} and ${} placeholders.

Backend DevelopmentDynamic SQLJava
0 likes · 7 min read
Comprehensive Guide to MyBatis: Concepts, Configuration, SQL Mapping, and Dynamic SQL