Tagged articles

ORM

377 articles · Page 3 of 4
DeWu Technology
DeWu Technology
Mar 23, 2022 · Databases

Introduction to ORM and Peewee Usage in Python

The article explains how ORM bridges Python objects and relational databases, compares options, and justifies choosing the lightweight Peewee library, then details its workflow—model generation, inserting, updating, deleting, and querying records—showcasing how this approach reduces manual data‑creation time from hours to seconds.

DjangoORMPeewee
0 likes · 9 min read
Introduction to ORM and Peewee Usage in Python
YunZhu Net Technology Team
YunZhu Net Technology Team
Mar 10, 2022 · Backend Development

Elegant Solution for MyBatis Single‑Table Operations with MyBatis‑Pro Framework

The article introduces MyBatis‑Pro, a Spring‑Boot starter that eliminates manual single‑table SQL by generating CRUD methods through naming conventions, explains quick integration, core features, configuration options, entity annotations, logical‑delete strategies, generic services, and provides extensive code examples for developers.

Backend DevelopmentJavaLogical Delete
0 likes · 17 min read
Elegant Solution for MyBatis Single‑Table Operations with MyBatis‑Pro Framework
macrozheng
macrozheng
Mar 7, 2022 · Databases

Mastering RedisOM: Elegant ORM for Spring Boot with Full-Text Search

RedisOM, the official Redis ORM for Java, lets Spring Boot developers replace RedisTemplate with object‑oriented data handling and built‑in full‑text search, covering JDK 11 setup, Maven dependencies, configuration, entity annotations, repository interfaces, and REST controller examples for managing product data.

Full-Text SearchJavaORM
0 likes · 11 min read
Mastering RedisOM: Elegant ORM for Spring Boot with Full-Text Search
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Feb 6, 2022 · Backend Development

Understanding MyBatis Architecture: Layers, Core Components, and Execution Flow

This article provides a comprehensive overview of MyBatis, detailing its three‑layer architecture, core modules such as caching, reflection, and transaction management, as well as the complete execution process from configuration files to SQL execution, helping developers master the framework for enterprise‑level Java applications.

CachingJavaMyBatis
0 likes · 11 min read
Understanding MyBatis Architecture: Layers, Core Components, and Execution Flow
Top Architect
Top Architect
Jan 13, 2022 · Backend Development

Understanding MyBatis Dynamic SQL: Parsing, Nodes, and Execution

This article explains MyBatis dynamic SQL, covering its purpose, the distinction between static and dynamic SQL, the core SqlNode and SqlSource classes, how MyBatis parses and assembles SQL scripts recursively, and provides concrete code examples to illustrate each step.

Backend DevelopmentDynamic SQLJava
0 likes · 13 min read
Understanding MyBatis Dynamic SQL: Parsing, Nodes, and Execution
FunTester
FunTester
Jan 11, 2022 · Backend Development

Mastering GORM: A Beginner’s Guide to Go ORM CRUD Operations

This article walks through setting up GORM in a Go project, covering dependency management, database initialization, model definition, and practical examples of select, insert, update, delete, raw SQL execution, and transaction handling with detailed code snippets.

CRUDGORMGo
0 likes · 9 min read
Mastering GORM: A Beginner’s Guide to Go ORM CRUD Operations
Top Architect
Top Architect
Jan 8, 2022 · Backend Development

Understanding the Differences Between ${} and #{} in MyBatis and Their Impact on SQL Injection

This article explains how MyBatis' ${} and #{} placeholders differ in syntax substitution and security, demonstrates their usage with DAO interfaces, Mapper XML, and JUnit tests, analyzes SQL injection risks, shows the underlying PreparedStatement handling, and provides practical guidelines for when to use each placeholder.

JavaMyBatisORM
0 likes · 11 min read
Understanding the Differences Between ${} and #{} in MyBatis and Their Impact on SQL Injection
Java Architecture Diary
Java Architecture Diary
Jan 1, 2022 · Backend Development

What’s New in MyBatis-Plus 4.0? Key Features and Update Log Explained

MyBatis-Plus, a MyBatis enhancement toolkit, streamlines CRUD development, celebrates its fifth consecutive OSC popularity award, and introduces version 4.0 with a comprehensive update log that includes MyBatis 3.5.9 upgrade, dynamic mapper injection, new hooks, and numerous performance and compatibility improvements.

CRUDJavaORM
0 likes · 4 min read
What’s New in MyBatis-Plus 4.0? Key Features and Update Log Explained
Tencent Cloud Developer
Tencent Cloud Developer
Dec 27, 2021 · Databases

Design and Implementation of a Simple Go ORM for MySQL

The article introduces a lightweight Go ORM for MySQL, explains native connection setup, details the SmallormEngine design with chainable methods for Table, Where, Insert, Update, Delete, and BatchInsert, and demonstrates how reflection builds SQL fragments while handling errors and supporting fluent query composition.

CRUDGoORM
0 likes · 32 min read
Design and Implementation of a Simple Go ORM for MySQL
macrozheng
macrozheng
Dec 16, 2021 · Backend Development

How to Build Complex Search APIs with Bean Searcher in One Line of Code

Learn how Bean Searcher enables Java backend developers to replace dozens of lines of ORM code with a single, flexible query method, supporting multi-table joins, dynamic filters, pagination, sorting, and custom operators, dramatically boosting development efficiency for complex list retrieval scenarios.

Bean SearcherDynamic QueryJava
0 likes · 17 min read
How to Build Complex Search APIs with Bean Searcher in One Line of Code
Programmer DD
Programmer DD
Dec 6, 2021 · Backend Development

Why Mastering Spring Data JPA Is a Must for Modern Java Developers

This article introduces the Java Persistence API (JPA), explains why Spring Data JPA has become an essential skill for large companies, outlines its benefits for development efficiency and career growth, and recommends the comprehensive book “Spring Data JPA: From Basics to Advanced” with its detailed structure and practical examples.

Backend DevelopmentDatabase AccessJava
0 likes · 27 min read
Why Mastering Spring Data JPA Is a Must for Modern Java Developers
Programmer DD
Programmer DD
Dec 3, 2021 · Backend Development

How Mybatis-Plus Enhances MyBatis: A Deep Dive into Its Core Implementation

This article explains how Mybatis-Plus extends MyBatis by injecting dynamic configuration XML, customizing mapper registration, and generating CRUD SQL statements through classes like MybatisSqlSessionFactoryBuilder, MybatisConfiguration, MybatisMapperRegistry, and various AbstractMethod implementations.

JavaMyBatisORM
0 likes · 7 min read
How Mybatis-Plus Enhances MyBatis: A Deep Dive into Its Core Implementation
Programmer DD
Programmer DD
Nov 29, 2021 · Backend Development

Boost MyBatis Efficiency with the PageHelper Pagination Plugin

This article introduces MyBatis-PageHelper, a universal pagination plugin that supports a wide range of databases, explains how to configure custom dialect aliases, shows Maven and Spring integration, details numerous plugin parameters, and provides multiple code examples for various usage patterns.

JavaMyBatisORM
0 likes · 9 min read
Boost MyBatis Efficiency with the PageHelper Pagination Plugin
Java Architect Essentials
Java Architect Essentials
Nov 14, 2021 · Backend Development

Comparative Implementation of Student Score Statistics Using Fluent Mybatis, Mybatis, and Mybatis‑Plus

This article demonstrates how to use Fluent Mybatis, native Mybatis, and Mybatis‑Plus to implement a complex student‑score aggregation query, compares their code structures, generation settings, and highlights the advantages and drawbacks of each approach for backend development.

Backend DevelopmentFluent-MyBatisJava
0 likes · 9 min read
Comparative Implementation of Student Score Statistics Using Fluent Mybatis, Mybatis, and Mybatis‑Plus
Top Architect
Top Architect
Nov 13, 2021 · Backend Development

Introducing MyBatis-Mate: Enterprise‑Level Features for MyBatis‑Plus

This article introduces MyBatis‑Mate, an official MyBatis‑Plus extension that provides enterprise‑grade capabilities such as sharding, data auditing, field encryption, dictionary binding, sensitive data masking, automatic DDL maintenance, dynamic data‑source switching, performance logging, and fine‑grained data‑scope control, all illustrated with practical code examples.

JavaMyBatisORM
0 likes · 15 min read
Introducing MyBatis-Mate: Enterprise‑Level Features for MyBatis‑Plus
Architect's Tech Stack
Architect's Tech Stack
Nov 9, 2021 · Backend Development

Comparative Implementation of a Student Score Statistics Query Using Fluent MyBatis, Native MyBatis, and MyBatis‑Plus

This article demonstrates how to implement a student score statistics query—calculating count, minimum, maximum, and average scores per term and subject—using Fluent MyBatis, native MyBatis, and MyBatis‑Plus, comparing code complexity, configuration, and generated code across the three approaches.

Fluent-MyBatisJavaMyBatis
0 likes · 9 min read
Comparative Implementation of a Student Score Statistics Query Using Fluent MyBatis, Native MyBatis, and MyBatis‑Plus
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Nov 7, 2021 · Backend Development

Comprehensive Overview and Source Code Analysis of the MyBatis Persistence Framework

This article provides a detailed introduction to MyBatis, covering its relationship with JDBC, core components, execution flow, configuration, design patterns, caching strategies, plugin mechanisms, logging options, dynamic SQL features, and includes complete Java and XML code examples to illustrate practical usage.

JavaMyBatisORM
0 likes · 19 min read
Comprehensive Overview and Source Code Analysis of the MyBatis Persistence Framework
Java Captain
Java Captain
Nov 6, 2021 · Databases

Introducing mybatis-mate: Enterprise‑Level MyBatis Extension for Sharding, Data Encryption, Auditing, and More

The article presents mybatis-mate, an enterprise‑grade MyBatis module that provides sharding, data auditing, sensitive‑word filtering, field encryption, dictionary write‑back, data permission, automatic DDL maintenance, dynamic multi‑datasource switching, and distributed transaction logging, offering developers a more agile and elegant way to handle data.

Data AuditingORMSharding
0 likes · 15 min read
Introducing mybatis-mate: Enterprise‑Level MyBatis Extension for Sharding, Data Encryption, Auditing, and More
Java Architect Essentials
Java Architect Essentials
Sep 27, 2021 · Backend Development

Comparative Analysis of Java Persistence Frameworks: Hibernate, MyBatis, JOOQ, Ebean, Spring Data JPA and JDBC Template

The article evaluates major Java persistence solutions—Hibernate, MyBatis, JOOQ, Ebean, Spring Data JPA and JDBC Template—by comparing their SQL encapsulation, DSL support, cross‑database portability, performance, and security, ultimately recommending JDBC Template for the author's project.

HibernateJDBCJOOQ
0 likes · 13 min read
Comparative Analysis of Java Persistence Frameworks: Hibernate, MyBatis, JOOQ, Ebean, Spring Data JPA and JDBC Template
Python Programming Learning Circle
Python Programming Learning Circle
Sep 24, 2021 · Backend Development

Python Fundamentals, Concurrency, and Django Backend Development Essentials

This article provides a comprehensive overview of core Python concepts—including garbage collection, tuple versus list differences, process/thread/coroutine models, shallow and deep copying, the Global Interpreter Lock, sorting algorithms, closures, decorators, iterators, generators, and essential Django backend components such as WSGI, request lifecycle, middleware, ORM methods, caching, and REST framework.

ORMPythonbackend
0 likes · 18 min read
Python Fundamentals, Concurrency, and Django Backend Development Essentials
High Availability Architecture
High Availability Architecture
Sep 3, 2021 · Backend Development

MyBatis Complete Example and Internal Architecture Overview

This article provides a thorough introduction to MyBatis, including a complete beginner example with database schema, Maven configuration, XML and Java mapper files, and a demo program, followed by an in‑depth explanation of MyBatis’s lifecycle, core components such as SqlSession, Executor, StatementHandler, ParameterHandler, ResultSetHandler, and their interactions.

ExecutorJavaMyBatis
0 likes · 27 min read
MyBatis Complete Example and Internal Architecture Overview
vivo Internet Technology
vivo Internet Technology
Sep 2, 2021 · Backend Development

Complete MyBatis Example and Architecture Overview

The article presents a step‑by‑step MyBatis tutorial that creates a sample user table, adds Maven dependencies, configures MyBatis, defines mapper XML and Java interfaces, demonstrates a test program, and explains core components such as SqlSession, Executor, StatementHandler, ParameterHandler, and ResultSetHandler.

ExecutorJavaMyBatis
0 likes · 28 min read
Complete MyBatis Example and Architecture Overview
Java Backend Technology
Java Backend Technology
Aug 29, 2021 · Backend Development

Which Java Persistence Framework Wins? A Deep Comparison of JOOQ, MyBatis, Hibernate, JPA, and JDBC Template

This article evaluates popular and niche Java persistence frameworks—Hibernate, MyBatis, JOOQ, Ebean, JPA, and Spring JDBC Template—by comparing SQL encapsulation, performance, DSL support, cross‑database portability, and security, ultimately explaining why the author chose JDBC Template for their project.

JOOQJavaMyBatis
0 likes · 13 min read
Which Java Persistence Framework Wins? A Deep Comparison of JOOQ, MyBatis, Hibernate, JPA, and JDBC Template
Sohu Tech Products
Sohu Tech Products
Aug 18, 2021 · Mobile Development

A Comprehensive Guide to iOS Core Data: Modeling, Persistence, and CRUD Operations

This article explains why Core Data is needed for iOS data persistence, introduces its concepts such as entities, attributes, relationships, and ORM, walks through creating a data model file, configuring NSPersistentContainer, and demonstrates full CRUD operations with Swift code examples and best‑practice tips.

Core DataMobile DevelopmentNSPersistentContainer
0 likes · 20 min read
A Comprehensive Guide to iOS Core Data: Modeling, Persistence, and CRUD Operations
Code Ape Tech Column
Code Ape Tech Column
Jul 12, 2021 · Information Security

MyBatis SQL Injection Auditing: Common Vulnerabilities and Practical Analysis

This article explains how SQL injection can still occur in Java applications using MyBatis, describes the three typical vulnerable patterns (LIKE, IN, ORDER BY), and provides a step‑by‑step practical workflow—including code snippets and verification—to help beginners audit and remediate such issues.

Code AuditingJavaMyBatis
0 likes · 7 min read
MyBatis SQL Injection Auditing: Common Vulnerabilities and Practical Analysis
IT Xianyu
IT Xianyu
Jun 10, 2021 · Backend Development

Comprehensive Guide to MyBatis-Plus: CRUD, Annotations, Condition Builders, Pagination, and Advanced Features

This article provides a detailed tutorial on using MyBatis-Plus in Java, covering setup, entity and mapper definitions, CRUD operations, annotations, condition builders, pagination, AR mode, logical deletion, automatic field filling, optimistic locking, performance analysis, multi‑tenant support, dynamic table names, configuration options, and code generation.

CRUDJavaORM
0 likes · 45 min read
Comprehensive Guide to MyBatis-Plus: CRUD, Annotations, Condition Builders, Pagination, and Advanced Features
Java Architect Essentials
Java Architect Essentials
Jun 9, 2021 · Backend Development

Using MyBatis Generator for Code Generation and Practical CRUD Examples

This article explains how to set up the MyBatis Generator plugin in a Maven project, configure generatorConfig.xml and jdbc.properties, and demonstrates practical CRUD operations such as deleting users, updating team information, and performing fuzzy and range queries with generated Example classes.

Backend DevelopmentJavaMyBatis
0 likes · 9 min read
Using MyBatis Generator for Code Generation and Practical CRUD Examples
Code Ape Tech Column
Code Ape Tech Column
Jun 2, 2021 · Backend Development

Comprehensive Guide to MyBatis-Plus: Quick Start, Core Features, and Advanced Usage

This article provides a detailed tutorial on using MyBatis-Plus with Spring Boot, covering installation, quick start, CRUD operations, annotation usage, condition builders, pagination, AR mode, primary key strategies, configuration options, code generation, logical deletion, auto-filling, optimistic locking, performance analysis, multi‑tenant support, dynamic table names, and best‑practice summaries.

CRUDJavaORM
0 likes · 50 min read
Comprehensive Guide to MyBatis-Plus: Quick Start, Core Features, and Advanced Usage
Top Architect
Top Architect
Jun 1, 2021 · Backend Development

Comprehensive Guide to MyBatis‑Plus CRUD, Annotations, Wrappers, Pagination and Advanced Features

This article provides a detailed tutorial on using MyBatis‑Plus with Spring Boot, covering quick setup, entity and mapper definitions, CRUD operations, condition wrappers (including lambda and chain wrappers), pagination, ActiveRecord mode, primary‑key strategies, configuration options, code generation, and advanced features such as logical deletion, auto‑fill, optimistic locking, performance analysis, multi‑tenant and dynamic table name handling.

CRUDJavaORM
0 likes · 46 min read
Comprehensive Guide to MyBatis‑Plus CRUD, Annotations, Wrappers, Pagination and Advanced Features
MaGe Linux Operations
MaGe Linux Operations
May 28, 2021 · Backend Development

How to Reveal the Exact SQL Behind Django ORM Queries

This guide shows three practical ways—using the queryset query attribute, Django's connection object, and the Django Debug Toolbar—to inspect the raw SQL generated by Django ORM, helping developers optimize database performance and troubleshoot queries effectively.

Debug ToolbarDjangoORM
0 likes · 4 min read
How to Reveal the Exact SQL Behind Django ORM Queries
vivo Internet Technology
vivo Internet Technology
May 19, 2021 · Backend Development

MyBatis-Plus SQL Auto-Injection Principle Analysis

MyBatis‑Plus enhances MyBatis by automatically injecting CRUD SQL via BaseMapper, using entity annotations and template methods to map classes to tables, eliminating repetitive manual SQL, supporting lambda queries, pagination, and performance tools, all with minimal intrusion and overhead.

BaseMapperJavaMyBatis
0 likes · 10 min read
MyBatis-Plus SQL Auto-Injection Principle Analysis
Programmer DD
Programmer DD
Apr 21, 2021 · Backend Development

Unveiling MyBatis: How Mapper Interfaces Bind and SQL Executes Internally

This article thoroughly dissects MyBatis’s internal workflow, explaining how mapper interfaces are linked to XML files, detailing the step‑by‑step SQL execution process, and demonstrating custom typeHandler creation for both parameter and result mapping, all based on MyBatis 3.5.5 source code.

JavaMyBatisORM
0 likes · 17 min read
Unveiling MyBatis: How Mapper Interfaces Bind and SQL Executes Internally
Architecture Digest
Architecture Digest
Apr 1, 2021 · Backend Development

Comprehensive Guide to MyBatis‑Plus CRUD, Configuration, and Advanced Features in Spring Boot

This article provides a step‑by‑step tutorial on using MyBatis‑Plus with Spring Boot, covering database creation, table definition, Maven dependencies, entity and mapper setup, CRUD operations, automatic field filling, optimistic locking, pagination, logical deletion, performance monitoring, query wrappers, and code generation, all illustrated with complete code examples.

CRUDJavaORM
0 likes · 15 min read
Comprehensive Guide to MyBatis‑Plus CRUD, Configuration, and Advanced Features in Spring Boot
Selected Java Interview Questions
Selected Java Interview Questions
Mar 23, 2021 · Backend Development

Understanding MyBatis: Concepts, Advantages, Disadvantages, Usage Scenarios, and Advanced Features

This article provides a comprehensive overview of MyBatis, a semi‑ORM Java framework, covering its core concepts, benefits, drawbacks, appropriate use cases, differences from Hibernate, parameter handling, dynamic SQL, caching, lazy loading, mapper binding, plugin development, and various configuration techniques.

JavaMyBatisORM
0 likes · 22 min read
Understanding MyBatis: Concepts, Advantages, Disadvantages, Usage Scenarios, and Advanced Features
php Courses
php Courses
Jan 26, 2021 · Backend Development

Understanding the ThinkPHP Db Class: Workflow and Core Methods

This article provides a detailed walkthrough of the ThinkPHP Db class, explaining its relationship with other core classes, the database configuration, and the step‑by‑step execution flow of queries, including magic methods, connection handling, and result retrieval.

DBORMPHP
0 likes · 8 min read
Understanding the ThinkPHP Db Class: Workflow and Core Methods
php Courses
php Courses
Jan 25, 2021 · Backend Development

Deep Dive into ThinkPHP Model Implementation and Save Method Execution

This article provides a comprehensive, step‑by‑step analysis of ThinkPHP's Model class, illustrating how the framework organizes model files, utilizes traits and ArrayAccess, and executes the save method—including data validation, insert/update logic, and the underlying execute routine that interacts with the database via PDO.

ModelORMPHP
0 likes · 9 min read
Deep Dive into ThinkPHP Model Implementation and Save Method Execution
Java Architect Essentials
Java Architect Essentials
Jan 12, 2021 · Backend Development

Extending MyBatis-Plus for Batch Insert Operations in Java Backend

This article introduces MyBatis-Plus, explains its non‑intrusive features, demonstrates how to add Maven dependencies, examines the built‑in batch insert API, and provides step‑by‑step code to extend BaseMapper with a custom EasyBaseMapper for efficient MySQL batch inserts.

Backend DevelopmentJavaMyBatis-Plus
0 likes · 6 min read
Extending MyBatis-Plus for Batch Insert Operations in Java Backend
Top Architect
Top Architect
Dec 27, 2020 · Backend Development

Comprehensive MyBatis‑Plus CRUD Guide for Spring Boot Applications

This article provides a comprehensive step‑by‑step guide on using MyBatis‑Plus in a Spring Boot application, covering table creation, Maven dependencies, configuration, entity and mapper definitions, CRUD testing, auto‑fill, optimistic and logical deletion, pagination, performance monitoring, query wrappers, and code generation.

CRUDJavaORM
0 likes · 14 min read
Comprehensive MyBatis‑Plus CRUD Guide for Spring Boot Applications
Architect's Tech Stack
Architect's Tech Stack
Dec 16, 2020 · Databases

MyBatis Dynamic SQL Tutorial: Using if, choose, trim, foreach, and bind Tags with Code Examples

This article explains MyBatis dynamic SQL features—including if, choose, trim, foreach, and bind tags—by showing how to set up a Maven project, create a student table, write mapper methods, and run tests that demonstrate conditional queries, updates, inserts, batch operations, and database‑agnostic expressions.

Dynamic SQLMyBatisORM
0 likes · 19 min read
MyBatis Dynamic SQL Tutorial: Using if, choose, trim, foreach, and bind Tags with Code Examples
The Dominant Programmer
The Dominant Programmer
Dec 7, 2020 · Mobile Development

How to Perform CRUD on SQLite with Android Room ORM

This article walks through using Google’s Room ORM in an Android project to create a SQLite database, define entities and DAOs, set up a singleton database instance, and implement add, query, fuzzy search, and delete operations via a simple UI.

AndroidCRUDORM
0 likes · 11 min read
How to Perform CRUD on SQLite with Android Room ORM
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Dec 5, 2020 · Backend Development

Master MyBatis Interview Questions: #{} vs ${}, XML Mapping, Plugins, and More

This article provides concise, interview‑style explanations of MyBatis core concepts—including the difference between #{} and ${}, additional XML tags, DAO interface mechanics, pagination, plugin development, batch operations, executors, lazy loading, enum mapping, and internal configuration mapping—helping developers ace backend Java ORM interviews.

JavaMyBatisORM
0 likes · 16 min read
Master MyBatis Interview Questions: #{} vs ${}, XML Mapping, Plugins, and More
Architect's Tech Stack
Architect's Tech Stack
Nov 18, 2020 · Backend Development

Introducing MyBatis-Plus: Features, Architecture, and Quick Start Guide

MyBatis-Plus (MP) is a non‑intrusive MyBatis enhancement tool that offers a rich set of CRUD features, multi‑database support, code generation, and plugins, and this article explains its key capabilities, architecture diagram, and provides a step‑by‑step quick‑start example with Maven dependencies and sample query code.

Backend DevelopmentCRUDORM
0 likes · 5 min read
Introducing MyBatis-Plus: Features, Architecture, and Quick Start Guide
vivo Internet Technology
vivo Internet Technology
Nov 4, 2020 · Backend Development

Node-MyBatis: A JavaScript Full‑Stack Data Persistence Solution for the Wukong Activity Platform

The article describes how the Wukong Activity Platform’s data‑persistence layer uses Node.js as a BFF with MySQL, combines raw drivers, optional ORMs, and a custom lightweight Node‑MyBatis framework that offers dynamic SQL templating, built‑in injection protection, declarative transaction decorators, and automatic TypeScript type generation for full‑stack JavaScript development.

Backend DevelopmentMyBatisNode.js
0 likes · 28 min read
Node-MyBatis: A JavaScript Full‑Stack Data Persistence Solution for the Wukong Activity Platform
Architect
Architect
Oct 3, 2020 · Backend Development

Integrating Hibernate and MyBatis in a Spring Boot Project

This tutorial demonstrates how to integrate both Hibernate and MyBatis ORM frameworks within a single Spring Boot application, covering environment setup, project configuration, entity and repository definitions, service and controller implementation, and testing to verify concurrent operation.

Backend DevelopmentHibernateJava
0 likes · 10 min read
Integrating Hibernate and MyBatis in a Spring Boot Project
IT Xianyu
IT Xianyu
Sep 19, 2020 · Backend Development

Using MyBatis Dynamic SQL Tags (if, choose, trim, foreach, bind) for Conditional Queries and Updates

This article explains how MyBatis dynamic SQL tags such as if, choose, trim, foreach, and bind can be used to build flexible SELECT, INSERT, UPDATE, and DELETE statements, showing code examples, test cases, and best‑practice tips for handling optional parameters and batch operations in Java backend development.

Dynamic SQLJavaMyBatis
0 likes · 20 min read
Using MyBatis Dynamic SQL Tags (if, choose, trim, foreach, bind) for Conditional Queries and Updates
Code Ape Tech Column
Code Ape Tech Column
Sep 6, 2020 · Backend Development

Deep Dive into MyBatis Core Architecture: The Six Swordmen and Essential Components

This article introduces MyBatis's underlying architecture by explaining the six core interfaces—SqlSession, Executor, StatementHandler, ParameterHandler, ResultSetHandler, and TypeHandler—detailing their roles, key methods, caching mechanisms, and how they are instantiated within a Spring Boot environment.

Backend DevelopmentExecutorJava
0 likes · 13 min read
Deep Dive into MyBatis Core Architecture: The Six Swordmen and Essential Components
Code Ape Tech Column
Code Ape Tech Column
Sep 3, 2020 · Backend Development

Master MyBatis Result Mapping: From Alias to Nested Associations

This article explains MyBatis result mapping techniques—including alias mapping, camel‑case automatic mapping, explicit resultMap definitions, and advanced one‑to‑one and one‑to‑many associations—providing code examples, configuration details, and performance considerations such as the N+1 query problem.

AssociationJavaMyBatis
0 likes · 16 min read
Master MyBatis Result Mapping: From Alias to Nested Associations
Code Ape Tech Column
Code Ape Tech Column
Sep 2, 2020 · Backend Development

Master MyBatis with Spring Boot: Setup, Configuration, and CRUD Guide

This tutorial walks through integrating MyBatis with Spring Boot, covering Maven dependencies, datasource configuration, mapper scanning, basic CRUD XML mappings, the differences between #{ } and ${ }, auto‑generated key handling, SQL fragments, and enabling camel‑case mapping for seamless Java‑to‑database interaction.

CRUDJavaMyBatis
0 likes · 14 min read
Master MyBatis with Spring Boot: Setup, Configuration, and CRUD Guide
Top Architect
Top Architect
Aug 31, 2020 · Backend Development

MyBatis Dynamic SQL Tags: if, choose, trim, foreach, bind for Conditional Queries, Updates, Inserts, and Batch Operations

This tutorial explains how to use MyBatis dynamic SQL tags such as if, choose, trim, foreach, and bind to build flexible SELECT, UPDATE, INSERT, and batch statements, demonstrating data preparation, conditional query construction, selective updates, conditional inserts, and advanced tag usage with complete Java test examples.

Dynamic SQLJavaMyBatis
0 likes · 20 min read
MyBatis Dynamic SQL Tags: if, choose, trim, foreach, bind for Conditional Queries, Updates, Inserts, and Batch Operations
Fulu Network R&D Team
Fulu Network R&D Team
Aug 28, 2020 · Backend Development

EF Core Practical Guide: DbContext Configuration, Threading, Connection Pooling, Logging, and CRUD Operations

This article provides a comprehensive tutorial on using EF Core in .NET, covering DbContext setup for MySQL and SQL Server, thread‑safety considerations, connection‑pooling benefits, logging of generated SQL, various insertion techniques (single, cascade, bulk), querying methods, and efficient update patterns.

C#EF CoreORM
0 likes · 16 min read
EF Core Practical Guide: DbContext Configuration, Threading, Connection Pooling, Logging, and CRUD Operations
Top Architect
Top Architect
Aug 25, 2020 · Backend Development

Performance Comparison of Hibernate and MyBatis for Insert and Query Operations

This article presents a systematic performance test of Hibernate and MyBatis covering bulk inserts, single‑table queries, and various association queries on MySQL, analyzes the impact of lazy versus eager loading, caching, and data volume, and provides practical recommendations for choosing the appropriate ORM framework.

HibernateJavaMyBatis
0 likes · 16 min read
Performance Comparison of Hibernate and MyBatis for Insert and Query Operations
Selected Java Interview Questions
Selected Java Interview Questions
Aug 19, 2020 · Backend Development

Using MyBatis‑Plus to Simplify CRUD Operations in Java Spring Boot

This article introduces MyBatis‑Plus, a powerful Java ORM that eliminates the need for manual XML mappings by providing ready‑made CRUD APIs, demonstrates how to configure Maven dependencies, define entity and mapper classes, and implement common database operations such as insert, delete, update, select, pagination, and complex conditional queries within a Spring Boot controller, all while showing the generated SQL statements.

CRUDJavaORM
0 likes · 20 min read
Using MyBatis‑Plus to Simplify CRUD Operations in Java Spring Boot
Laravel Tech Community
Laravel Tech Community
Aug 15, 2020 · Databases

Hibernate ORM 5.4.20 Release Notes and Overview

Hibernate ORM 5.4.20, a popular Java object‑relational mapping framework, introduces several bug fixes, new tasks such as CockroachDB support, and performance improvements, aiming to simplify database persistence and reduce manual SQL/JDBC coding for developers.

BugFixesHibernateImprovements
0 likes · 3 min read
Hibernate ORM 5.4.20 Release Notes and Overview
vivo Internet Technology
vivo Internet Technology
Aug 5, 2020 · Mobile Development

An ORM Wrapper for Native SQLite in Android SDKs

The article presents Sponsor, a lightweight ORM‑style wrapper for Android’s native SQLite that uses runtime annotations and dynamic proxies to generate Retrofit‑like, type‑safe CRUD APIs, automatically handling table creation, upgrades, and threading while keeping performance overhead negligible for SDK developers.

AndroidDynamic ProxyORM
0 likes · 18 min read
An ORM Wrapper for Native SQLite in Android SDKs
Programmer DD
Programmer DD
Jul 28, 2020 · Backend Development

Master MyBatis Dynamic SQL: IF, CHOOSE, FOREACH, and BIND Explained

This article provides a comprehensive guide to MyBatis dynamic SQL, covering essential tags such as if, choose, trim, foreach, and bind, with practical Maven project setup, full SQL examples, and JUnit tests that demonstrate conditional queries, updates, inserts, and batch operations.

Dynamic SQLMyBatisORM
0 likes · 20 min read
Master MyBatis Dynamic SQL: IF, CHOOSE, FOREACH, and BIND Explained
Programmer DD
Programmer DD
Jul 27, 2020 · Backend Development

Why MyBatis Outperforms Hibernate for Modern Java Back‑End Projects

The article examines a Spring‑related Twitter poll, Google Trends, and Stack Overflow statistics to compare MyBatis, Hibernate, and JPA, then argues that MyBatis’ simplicity and flexibility make it better suited for today’s fast‑paced backend development.

HibernateMyBatisORM
0 likes · 5 min read
Why MyBatis Outperforms Hibernate for Modern Java Back‑End Projects
Top Architect
Top Architect
Jun 30, 2020 · Databases

Sharding-JDBC Demo: Implementing Database Sharding with Spring Boot

This article demonstrates how to set up Sharding-JDBC in a Spring Boot project, covering project structure, Maven configuration, entity, controller, service, mapper code, database DDL for multiple shards, sharding rules in application.properties, and API testing with Postman.

JavaORMSharding-JDBC
0 likes · 14 min read
Sharding-JDBC Demo: Implementing Database Sharding with Spring Boot
Meituan Technology Team
Meituan Technology Team
Jun 18, 2020 · Backend Development

Root Cause Analysis of MyBatis Version Upgrade Causing ParameterType Mismatch and Type Casting Errors

An upgrade of MyBatis from 3.2.3 to 3.4.6 caused parameterType mismatches in XML mappings, turning previously ignored type declarations into enforced ones, which led to ClassCastException errors for LocalDateTime and other types, prompting a root‑cause analysis and recommendations for careful version testing and configuration alignment.

Backend DevelopmentJavaMyBatis
0 likes · 18 min read
Root Cause Analysis of MyBatis Version Upgrade Causing ParameterType Mismatch and Type Casting Errors
Laravel Tech Community
Laravel Tech Community
Jun 13, 2020 · Backend Development

Inserting and Updating Related Models with Laravel Eloquent

This article explains how to add, update, and manage related Eloquent models in Laravel—including saving single or multiple related records, using associate/dissociate for belongsTo relations, and handling many‑to‑many pivots with attach, detach, sync, toggle, and timestamp propagation.

EloquentLaravelORM
0 likes · 7 min read
Inserting and Updating Related Models with Laravel Eloquent
Laravel Tech Community
Laravel Tech Community
Jun 13, 2020 · Backend Development

Understanding Eager Loading in Laravel Eloquent

This article explains Laravel Eloquent's eager loading techniques, demonstrating how to replace lazy-loaded N+1 queries with the with() method, preload multiple or nested relationships, select specific columns, apply constraints, and use lazy eager loading methods like load and loadMissing, all illustrated with PHP code examples.

Eager LoadingEloquentLaravel
0 likes · 6 min read
Understanding Eager Loading in Laravel Eloquent
Laravel Tech Community
Laravel Tech Community
Jun 13, 2020 · Backend Development

Understanding Laravel Eloquent Relationships: HasManyThrough, Polymorphic, and Advanced Query Techniques

This article explains how to define and use Laravel Eloquent relationships—including remote one‑to‑many (hasManyThrough), polymorphic, many‑to‑many polymorphic, and various query constraints—by showing required database schemas, model methods, and example code for retrieving and counting related records.

EloquentLaravelORM
0 likes · 11 min read
Understanding Laravel Eloquent Relationships: HasManyThrough, Polymorphic, and Advanced Query Techniques
Laravel Tech Community
Laravel Tech Community
Jun 13, 2020 · Backend Development

One-to-Many Relationships in Laravel Eloquent

This article explains how to define and use one-to-many and inverse (belongsTo) relationships in Laravel's Eloquent ORM, including default foreign key conventions, accessing related records, applying query constraints, and customizing foreign and local keys with code examples.

EloquentLaravelORM
0 likes · 5 min read
One-to-Many Relationships in Laravel Eloquent
Programmer DD
Programmer DD
Jun 12, 2020 · Backend Development

Master MyBatis resultMap: From Simple Queries to Complex Mappings

This article explains the powerful MyBatis resultMap element, covering basic getter/setter injection, constructor injection, inheritance, one-to-one and one-to-many associations, and discriminators, while providing complete XML examples and Java entity code to help developers map complex relational data efficiently.

JavaMyBatisORM
0 likes · 13 min read
Master MyBatis resultMap: From Simple Queries to Complex Mappings
Laravel Tech Community
Laravel Tech Community
Apr 23, 2020 · Backend Development

Understanding ORM vs DB Query Builder in Laravel

This article explains the differences between Laravel's ORM and DB query builder, outlines their advantages and appropriate use cases, and provides step‑by‑step code examples for defining models, retrieving, creating, and deleting records, as well as handling transactions.

LaravelORMPHP
0 likes · 5 min read
Understanding ORM vs DB Query Builder in Laravel