Tagged articles
363 articles
Page 4 of 4
Wukong Talks Architecture
Wukong Talks Architecture
Feb 1, 2020 · Backend Development

MyBatis-Plus Select Query Examples and Usage

This article provides a step‑by‑step tutorial on using MyBatis‑Plus select queries, including data preparation, SQL table creation, and detailed Java code examples for retrieving specific fields and filtering by age with both simple and advanced query wrappers.

Backend DevelopmentJavaORM
0 likes · 7 min read
MyBatis-Plus Select Query Examples and Usage
Selected Java Interview Questions
Selected Java Interview Questions
Jan 3, 2020 · Backend Development

Comprehensive MyBatis Interview Q&A: Placeholders, XML Tags, DAO Mechanics, Pagination, Plugins, Dynamic SQL, Result Mapping, Associations, Lazy Loading, Executors and More

This article provides detailed answers to 18 common MyBatis interview questions, covering the differences between #{ } and ${ }, XML mapping tags, DAO interface behavior, pagination techniques, plugin development, batch operations, dynamic SQL, result mapping, association handling, lazy loading, executor types, enum mapping, and the internal configuration structure.

JavaMyBatisORM
0 likes · 16 min read
Comprehensive MyBatis Interview Q&A: Placeholders, XML Tags, DAO Mechanics, Pagination, Plugins, Dynamic SQL, Result Mapping, Associations, Lazy Loading, Executors and More
HomeTech
HomeTech
Dec 4, 2019 · Databases

Automating Test Data Generation with SQLAlchemy ORM, Faker, and Requests in Python

This article demonstrates how to automate e‑commerce test data creation by retrieving schema information with SQLAlchemy ORM, defining mapping classes, generating realistic data using Faker, and submitting it via HTTP requests with the Requests library, covering database interactions, data assembly, and API communication.

FakerHTTPORM
0 likes · 13 min read
Automating Test Data Generation with SQLAlchemy ORM, Faker, and Requests in Python
Java Backend Technology
Java Backend Technology
Dec 2, 2019 · Backend Development

Master MyBatis: Common Pitfalls, Tips, and Best Practices

This article compiles a comprehensive guide to MyBatis, covering typical mistakes such as misuse of # vs $, handling of dates and null values, multi‑parameter strategies, XML escaping, dynamic SQL pitfalls, and a balanced list of its advantages and disadvantages for Java developers.

JavaMyBatisORM
0 likes · 22 min read
Master MyBatis: Common Pitfalls, Tips, and Best Practices
Programmer DD
Programmer DD
Oct 29, 2019 · Backend Development

Mastering JDBC: Essential Interfaces, Methods, and Best Practices

This article explains JDBC fundamentals, detailing its core interfaces such as Driver, Connection, Statement, PreparedStatement, and CallableStatement, outlines transaction isolation levels, common methods, ResultSet handling, and emphasizes the importance of mastering JDBC for effective use of Java ORM frameworks.

Backend DevelopmentJDBCJava
0 likes · 6 min read
Mastering JDBC: Essential Interfaces, Methods, and Best Practices
System Architect Go
System Architect Go
Sep 17, 2019 · Information Security

Sequelize ORM SQL Injection Vulnerabilities and Affected Versions

The article outlines several SQL injection vulnerabilities discovered in various Sequelize ORM versions, explains the underlying causes related to improper JSON path key handling for MySQL, MariaDB, Postgres, and SQLite, provides reproduction screenshots, and strongly advises upgrading to patched releases.

Node.jsORMSQL injection
0 likes · 3 min read
Sequelize ORM SQL Injection Vulnerabilities and Affected Versions
21CTO
21CTO
Sep 10, 2019 · Backend Development

Why Laravel Stands Out: 14 Compelling Reasons to Choose This Backend Framework

This article explains why using Laravel for web development saves time and effort by offering built‑in authentication, convention‑over‑configuration, powerful ORM, easy email handling, Artisan CLI, testing support, simple routing, and a vibrant community, making it a top PHP backend choice.

LaravelMVCORM
0 likes · 14 min read
Why Laravel Stands Out: 14 Compelling Reasons to Choose This Backend Framework
Programmer DD
Programmer DD
Aug 4, 2019 · Backend Development

Master MyBatis TypeHandler: Elegant Enum Mapping and Custom Handlers

Learn how to replace fragile numeric status codes with clean enum handling in Java using MyBatis TypeHandler, explore built‑in handlers like EnumOrdinalTypeHandler and EnumTypeHandler, and create custom handlers for seamless database‑Java type conversion, complete with configuration tips and practical examples.

JavaMyBatisORM
0 likes · 9 min read
Master MyBatis TypeHandler: Elegant Enum Mapping and Custom Handlers
Programmer DD
Programmer DD
Jun 9, 2019 · Backend Development

Inside MyBatis: How SqlSessionFactory, Executor, and Mappers Work Together

This article walks through MyBatis' internal workflow—from parsing the global XML configuration and building the SqlSessionFactory, to creating a SqlSession, executing a query via the Executor, handling caching, and finally mapping results—illustrated with key code snippets and a diagram.

ExecutorJavaMyBatis
0 likes · 16 min read
Inside MyBatis: How SqlSessionFactory, Executor, and Mappers Work Together
Programmer DD
Programmer DD
May 29, 2019 · Backend Development

MyBatis Pitfalls and Best Practices: A Guide for Java Developers

Discover the most common MyBatis pitfalls—from # vs $ usage, handling nulls, resultMap quirks, and dynamic SQL issues—to master safe query practices, optimize performance, and avoid runtime errors, while comparing its strengths and weaknesses against Hibernate for effective Java backend development.

Backend DevelopmentJavaMyBatis
0 likes · 23 min read
MyBatis Pitfalls and Best Practices: A Guide for Java Developers
Programmer DD
Programmer DD
May 15, 2019 · Backend Development

Why MyBatis Runs Extra SQLs and How to Tune Its Cache

This article explains why MyBatis may execute unexpected additional SQL statements, reveals the default caching behavior, shows the required XML configuration and Serializable implementation, and offers practical steps to prevent cache clearing on inserts for more efficient backend data access.

CacheJavaMyBatis
0 likes · 3 min read
Why MyBatis Runs Extra SQLs and How to Tune Its Cache
MaGe Linux Operations
MaGe Linux Operations
Mar 21, 2019 · Backend Development

Build a Full‑Featured Django Library Management System from Scratch

This tutorial walks you through creating a complete Django project, covering settings configuration for templates, static files, and middleware, MySQL database integration, model definitions for publishers, books, and authors, view functions for CRUD operations, and essential front‑end template snippets, all with ready‑to‑run code examples.

Backend DevelopmentCRUDDjango
0 likes · 14 min read
Build a Full‑Featured Django Library Management System from Scratch
Java Captain
Java Captain
Dec 30, 2018 · Backend Development

Using MyBatis3 Annotations to Replace XML Configuration: A Comprehensive Guide

This article provides a step‑by‑step tutorial on using MyBatis3 annotation‑based CRUD, mapping, and provider annotations to replace XML configuration in a Spring Boot project, covering basic annotations, result mapping, dynamic SQL, Maven dependencies, configuration files, entity classes, database scripts, controller code, and testing procedures.

CRUDJavaMyBatis
0 likes · 11 min read
Using MyBatis3 Annotations to Replace XML Configuration: A Comprehensive Guide
21CTO
21CTO
Nov 28, 2018 · Backend Development

Why Laravel’s Powerful Features Can Supercharge Your PHP Development

This article introduces Laravel, a modern PHP framework, highlighting its MVC architecture, robust ORM, Blade templating, streamlined routing, controller organization, and built‑in authentication, while providing code examples to show how these features boost developer productivity.

AuthenticationBladeLaravel
0 likes · 6 min read
Why Laravel’s Powerful Features Can Supercharge Your PHP Development
MaGe Linux Operations
MaGe Linux Operations
Aug 25, 2018 · Backend Development

Build a Full‑Featured Django Library Management System from Scratch

This tutorial walks you through creating a real‑world Django project, covering template, static, and middleware settings, switching to MySQL, defining models with one‑to‑many and many‑to‑many relationships, implementing CRUD views, configuring URLs, and building simple HTML templates with code examples and key configuration screenshots.

CRUDDjangoORM
0 likes · 14 min read
Build a Full‑Featured Django Library Management System from Scratch
Sohu Tech Products
Sohu Tech Products
Aug 22, 2018 · Mobile Development

Deep Dive into the Objective‑C Runtime: Object Model, Class Structure, Dynamic Loading and Practical Uses

This article provides an in‑depth exploration of the Objective‑C runtime, covering the underlying object model, class and metaclass structures, the isa_t layout, how classes are loaded and initialized, dynamic loading mechanisms, and practical applications such as ORM and automatic NSCoding implementation.

Dynamic LoadingORMObjective‑C
0 likes · 22 min read
Deep Dive into the Objective‑C Runtime: Object Model, Class Structure, Dynamic Loading and Practical Uses
MaGe Linux Operations
MaGe Linux Operations
Aug 11, 2018 · Backend Development

Master Django Basics: From Project Setup to Forms and Templates

This comprehensive guide introduces Django, outlines its key features, explains the standard project structure, walks through essential commands, demonstrates view and URL configuration, covers template syntax and tags, and details model creation, database operations, and form handling with both GET and POST methods.

DjangoORMWeb Development
0 likes · 13 min read
Master Django Basics: From Project Setup to Forms and Templates
Python Programming Learning Circle
Python Programming Learning Circle
Aug 8, 2018 · Backend Development

Why Laravel Dominates PHP: Key Features and Code Samples

This article explains why Laravel has become the most successful PHP framework by highlighting its modular architecture, micro‑service support, routing, middleware, caching, authentication, billing integration, task automation, encryption, event handling, pagination, ORM, testing, and queue features, all illustrated with clear code examples.

LaravelORMPHP
0 likes · 7 min read
Why Laravel Dominates PHP: Key Features and Code Samples
MaGe Linux Operations
MaGe Linux Operations
Jul 22, 2018 · Backend Development

Build a Full-Featured Django Library Management System from Scratch

This tutorial walks you through configuring Django templates, static files, middleware, and MySQL database settings, then defines models for publishers, books, and authors, implements CRUD views and URL routing, and creates the necessary front‑end templates to build a complete library management application.

Backend DevelopmentDjangoORM
0 likes · 16 min read
Build a Full-Featured Django Library Management System from Scratch
Test Development Learning Exchange
Test Development Learning Exchange
Jun 26, 2018 · Backend Development

Comprehensive Django ORM Guide: Model Definition, Custom Table Names, Indexes, Relationships, Query Optimization, and Validation

This article provides an in‑depth tutorial on using Django's ORM, covering model creation, custom table names, single and composite indexes, one‑to‑many and many‑to‑many relationships, forward and reverse lookups, performance tuning with select_related and prefetch_related, and model validation techniques.

BackendDjangoModel
0 likes · 21 min read
Comprehensive Django ORM Guide: Model Definition, Custom Table Names, Indexes, Relationships, Query Optimization, and Validation
Java Captain
Java Captain
Apr 24, 2018 · Backend Development

Getting Started with MyBatis: Understanding the Framework, Configuration, and CRUD Example in Java

This article introduces MyBatis as a lightweight persistence framework for Java, explains its history and core concepts, compares it with Hibernate, and provides a step‑by‑step guide with configuration files, entity classes, mapper interfaces, XML mappings, utility classes, and a test service to perform basic CRUD operations.

BackendCRUDJava
0 likes · 14 min read
Getting Started with MyBatis: Understanding the Framework, Configuration, and CRUD Example in Java
Java Captain
Java Captain
Jan 23, 2018 · Backend Development

Essential Skills and Interview Preparation Guide for Java Developers

This article outlines the core professional skills, project experience, development processes, tools, interview questions, and negotiation tips that Java developers need to master to succeed in job interviews and advance from junior to senior positions.

Backend DevelopmentInterview PreparationORM
0 likes · 12 min read
Essential Skills and Interview Preparation Guide for Java Developers
Meituan Technology Team
Meituan Technology Team
Jan 18, 2018 · Backend Development

Analysis of MyBatis First‑Level and Second‑Level Cache Mechanisms

The article thoroughly examines MyBatis’s first‑level (session) and second‑level (namespace) caches, detailing their configurations, internal workflows, source‑code implementations, experimental behaviors, common pitfalls such as stale or dirty data, and advises disabling built‑in caching in favor of dedicated solutions for production.

CacheJavaMyBatis
0 likes · 25 min read
Analysis of MyBatis First‑Level and Second‑Level Cache Mechanisms
Hujiang Technology
Hujiang Technology
Dec 18, 2017 · Mobile Development

An Introduction to Android Room: Entities, DAO, Database, Migrations, and Advanced Usage

This article provides a comprehensive guide to Android's Room persistence library, covering the creation of Entity classes, defining Data Access Objects (DAO), building the RoomDatabase, handling foreign keys, embedded objects, query methods, LiveData and RxJava return types, as well as database migrations and type converters for complex data types.

AndroidMobile DevelopmentORM
0 likes · 11 min read
An Introduction to Android Room: Entities, DAO, Database, Migrations, and Advanced Usage
Architecture Digest
Architecture Digest
Sep 28, 2017 · Backend Development

Understanding Hibernate ORM: Save/Get Process, Object Lifecycle, Caching, and Transaction Concurrency

This article explains the fundamentals of Object‑Relational Mapping (ORM) with a focus on Hibernate in Java, detailing the save and get execution flow, differences between get and load, object lifecycle states, first‑ and second‑level caching, and how pessimistic and optimistic locking address transaction concurrency issues.

HibernateJavaORM
0 likes · 10 min read
Understanding Hibernate ORM: Save/Get Process, Object Lifecycle, Caching, and Transaction Concurrency
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Jul 12, 2017 · Backend Development

25 Essential Skills to Master Java and Become a Top Backend Engineer

This article outlines 25 critical areas—from object‑oriented design and core Java libraries to JVM internals, web frameworks, middleware, and project experience—that aspiring developers must master to become expert Java backend engineers, emphasizing both deep technical knowledge and practical project work.

Backend DevelopmentJ2EEORM
0 likes · 7 min read
25 Essential Skills to Master Java and Become a Top Backend Engineer
WeChat Client Technology Team
WeChat Client Technology Team
Jun 15, 2017 · Databases

How WCDB’s WINQ Eliminates SQL String Concatenation and Injection Risks

This article examines WCDB’s design principles for efficient, complete, and easy-to-use client-side databases, explains the pitfalls of SQL string concatenation such as code redundancy, debugging difficulty, and injection attacks, and describes how WCDB’s WINQ abstraction and ORM layer safely encapsulate SQLite syntax to enable concise, compile-time-checked queries.

C++ORMSQL injection
0 likes · 10 min read
How WCDB’s WINQ Eliminates SQL String Concatenation and Injection Risks
MaGe Linux Operations
MaGe Linux Operations
Feb 17, 2017 · Backend Development

Mastering ORM with SQLAlchemy: A Hands‑On Python Database Guide

Learn the fundamentals of Object‑Relational Mapping (ORM) and how to use Python’s SQLAlchemy library to define models, initialize sessions, create tables, and perform CRUD operations, with clear examples and code snippets that illustrate switching databases and advanced query techniques.

Backend DevelopmentORMPython
0 likes · 5 min read
Mastering ORM with SQLAlchemy: A Hands‑On Python Database Guide
Meituan Technology Team
Meituan Technology Team
Aug 12, 2016 · Backend Development

Automating Data Operation APIs with koa-restql

koa‑restql automatically creates full RESTful CRUD endpoints from Sequelize models, mapping each database table to standard GET, POST, PUT, and DELETE routes, handling query filters, pagination, and associations via query strings, and offering middleware or association‑level options for access control, thus eliminating repetitive data‑operation code in Koa backends.

AutomationKoaNode.js
0 likes · 7 min read
Automating Data Operation APIs with koa-restql
Liulishuo Tech Team
Liulishuo Tech Team
Jul 22, 2016 · Backend Development

Comparing ActiveRecord and Ecto: ORM Approaches in Ruby on Rails and Elixir

This article compares Ruby on Rails' ActiveRecord and Elixir's Ecto, explaining their mapping definitions, data retrieval, query syntax, write operations, validations, callbacks, and associations, while highlighting the trade‑offs between the convenience of ActiveRecord and the explicitness of Ecto.

ActiveRecordBackendEcto
0 likes · 15 min read
Comparing ActiveRecord and Ecto: ORM Approaches in Ruby on Rails and Elixir
Architecture Digest
Architecture Digest
Apr 3, 2016 · Backend Development

Design and Development of Albianj: A Distributed Java Framework for Large-Scale Data Access

The article presents the design and implementation of Albianj, a Java‑based distributed development framework that emphasizes consistency, scalability, and data routing to handle massive real‑time data across hundreds of servers, detailing its architecture, kernel, IoC, DataRouter, ORM, and distributed transaction mechanisms.

BackendDistributed FrameworkIoC
0 likes · 30 min read
Design and Development of Albianj: A Distributed Java Framework for Large-Scale Data Access
Qunar Tech Salon
Qunar Tech Salon
Feb 18, 2016 · Databases

Challenges and Strategies for Database Vertical and Horizontal Sharding

The article examines the increasing storage bottleneck in large-scale web systems, explains vertical and horizontal database sharding, discusses the technical difficulties they introduce—including join rewrites, transaction handling, and ORM integration—and proposes practical approaches to minimize service impact and manage distributed transactions.

ORMdatabase shardinghorizontal sharding
0 likes · 15 min read
Challenges and Strategies for Database Vertical and Horizontal Sharding
Architect
Architect
Jan 31, 2016 · Databases

Understanding Database Vertical and Horizontal Splitting, Their Challenges, and Practical Solutions

The article explains the concepts of vertical and horizontal database splitting, compares their technical difficulties, discusses the impact on joins and transactions, and proposes practical approaches such as careful SQL refactoring, ORM decoupling, and selective use of distributed‑transaction techniques to maintain system stability and scalability.

Distributed TransactionsORMScalability
0 likes · 14 min read
Understanding Database Vertical and Horizontal Splitting, Their Challenges, and Practical Solutions
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
May 8, 2015 · Backend Development

Optimizing Data Fetching in J2EE Applications Using Lazy Loading, Fetch Strategies, and AspectJ

This article examines the challenges of lazy loading in J2EE ORM tools, compares eager fetching and pre-fetching, and proposes a modular solution using Aspect‑Oriented Programming to inject custom fetching strategies at the repository level, reducing SQL queries, connection usage, and code bloat.

Fetching StrategyORMaspectj
0 likes · 12 min read
Optimizing Data Fetching in J2EE Applications Using Lazy Loading, Fetch Strategies, and AspectJ