Tagged articles
74 articles
Page 1 of 1
java1234
java1234
Mar 29, 2026 · Backend Development

Why MyBatis Is Called a Semi‑ORM Mapping Tool

MyBatis, a widely used Java persistence framework, blends SQL mapping with traditional JDBC, requiring developers to write SQL manually, offering greater flexibility and performance than full ORM solutions like Hibernate, while providing only persistence operations without encapsulating complex business logic.

HibernateJavaMyBatis
0 likes · 6 min read
Why MyBatis Is Called a Semi‑ORM Mapping Tool
Architecture Digest
Architecture Digest
Mar 19, 2026 · Backend Development

Why Open Session in View (OSIV) Can Kill Your Spring Boot Performance

Spring Boot’s default Open Session in View (OSIV) keeps Hibernate sessions open throughout the request, silently triggering lazy‑loaded queries during JSON serialization, leading to N+1 problems and massive DB load under load, but disabling it and using explicit fetch joins restores performance.

HibernateN+1 QueryOSIV
0 likes · 7 min read
Why Open Session in View (OSIV) Can Kill Your Spring Boot Performance
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 30, 2026 · Backend Development

8 Hidden Hibernate Annotations That Supercharge Spring Boot 3

This guide explores eight lesser‑known Hibernate annotations—such as @EntityGraph, @Formula, @SQLRestriction, @SQLDelete, @JoinFormula, @Cache, @DynamicUpdate/Insert, and @Filter/FilterDef—demonstrating how they improve performance, simplify queries, and enhance data handling in Spring Boot 3 applications for developers.

Backend DevelopmentHibernateSpring Boot
0 likes · 11 min read
8 Hidden Hibernate Annotations That Supercharge Spring Boot 3
JakartaEE China Community
JakartaEE China Community
Sep 23, 2025 · Backend Development

Upgrade JPA 2.x to Jakarta Persistence 3.0 – Step‑by‑Step Guide

This article explains how to migrate a Java application from JPA 2.x to Jakarta Persistence 3.0 by updating Maven dependencies, replacing javax.persistence imports with jakarta.persistence, adjusting XML namespace URLs, and renaming configuration properties, all illustrated with concrete code snippets.

EclipseLinkHibernateJava
0 likes · 9 min read
Upgrade JPA 2.x to Jakarta Persistence 3.0 – Step‑by‑Step Guide
JakartaEE China Community
JakartaEE China Community
Sep 16, 2025 · Backend Development

Defining Jakarta Data Repositories with Hibernate: A Practical Guide

This article explains how to define Jakarta Data repositories using Hibernate, covering the stateless nature of repositories, minimal and extended interfaces, custom lifecycle annotations, finder methods, and custom JDQL queries, with concrete code examples and generated SQL illustrations.

HibernateJakarta DataJava
0 likes · 13 min read
Defining Jakarta Data Repositories with Hibernate: A Practical Guide
Architecture Digest
Architecture Digest
Aug 21, 2025 · Backend Development

Which Java Technologies Are Truly Obsolete? A Practical Guide

The article reviews decades of Java evolution, evaluates JSP, Struts, Hibernate, Servlet and other legacy tools against real‑world usefulness, interview relevance, and learning value, and advises developers on which technologies to drop and which fundamentals to master.

HibernateJSPJava
0 likes · 7 min read
Which Java Technologies Are Truly Obsolete? A Practical Guide
JakartaEE China Community
JakartaEE China Community
Jul 28, 2025 · Backend Development

How to Store JSON Data Using JPA and Hibernate

This tutorial shows how to store, query, and manipulate JSON data in PostgreSQL using JPA and Hibernate, covering native JSON/JSONB types, the Hypersistence JsonType, entity mapping, service and REST layers, WildFly configuration, and curl‑based testing.

HibernateHypersistenceJSON
0 likes · 11 min read
How to Store JSON Data Using JPA and Hibernate
Programmer DD
Programmer DD
May 17, 2025 · Backend Development

Unlock Dynamic Fields in Hibernate: Master @Formula for Read‑Only Calculations

The article explains Hibernate's @Formula annotation, showing how to define dynamic, read‑only fields with SQL expressions, provides code examples for simple concatenations, aggregate calculations, and multi‑table integrations, and offers best‑practice guidelines to optimize performance and avoid common pitfalls.

@FormulaBackend DevelopmentHibernate
0 likes · 7 min read
Unlock Dynamic Fields in Hibernate: Master @Formula for Read‑Only Calculations
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 24, 2025 · Backend Development

Mastering JPA with @Formula, @SQLRestriction, and @Filter in Spring Boot 3

This article explains how three Hibernate annotations—@Formula, @SQLRestriction (or @Where), and @Filter—solve common JPA pain points such as scattered query logic, duplicated calculations, and hard‑coded filters, providing code‑reduction, better performance, and easier maintenance in Spring Boot 3 projects.

Backend DevelopmentDynamic QueriesHibernate
0 likes · 8 min read
Mastering JPA with @Formula, @SQLRestriction, and @Filter in Spring Boot 3
macrozheng
macrozheng
Apr 16, 2025 · Backend Development

Which Java Technologies Are Truly Obsolete? A 2024 Guide for Developers

This article reviews common Java backend technologies, explains why JSP, Struts, Hibernate and several legacy tools are no longer worth learning, and highlights the essential concepts—especially deep mastery of Servlets—that modern Java developers should focus on in 2024.

HibernateMicroservicesMyBatis
0 likes · 9 min read
Which Java Technologies Are Truly Obsolete? A 2024 Guide for Developers
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 3, 2025 · Backend Development

Master Spring Boot 3 Entity Design: Best Practices & Real‑World Examples

This article walks through essential Spring Boot 3 JPA entity design techniques—including inheritance, primary‑key mapping, relationship handling, cascade operations, validation, auditing, DTO projection, and index creation—providing clear code examples and configuration tips for building robust, maintainable backend services.

AuditingBackend DevelopmentEntity Design
0 likes · 11 min read
Master Spring Boot 3 Entity Design: Best Practices & Real‑World Examples
Architecture Digest
Architecture Digest
Feb 11, 2025 · Backend Development

Outdated Java Backend Technologies You Can Stop Learning

The article reviews several Java backend technologies—JSP, Struts, Hibernate, Servlet, Applet, Swing, JDBC, and XML—explaining why they are now considered obsolete or low‑priority and recommending modern alternatives such as Spring MVC, MyBatis, and deep Servlet knowledge for current development.

HibernateJSPJava
0 likes · 9 min read
Outdated Java Backend Technologies You Can Stop Learning
macrozheng
macrozheng
Jan 26, 2025 · Backend Development

Which Java Technologies Are Worth Learning in 2024? A Practical Guide

Based on 20 years of Java experience, this article evaluates Java technologies like JSP, Struts, Hibernate, and Servlet against practical use, depth of understanding, and interview relevance, recommending which to drop, which to master, and highlighting alternatives such as Spring MVC and MyBatis.

Backend DevelopmentHibernateJSP
0 likes · 8 min read
Which Java Technologies Are Worth Learning in 2024? A Practical Guide
FunTester
FunTester
Aug 30, 2024 · Backend Development

Choosing a Java ORM Framework: Key Factors, Popular Options, and Implementation Steps

This article explains why Java ORM frameworks are essential for simplifying database access, outlines the critical criteria for selecting the right ORM, compares popular choices such as Hibernate, JPA, EclipseLink, and DataNucleus, and provides a step‑by‑step guide for successful implementation.

BackendHibernateJava
0 likes · 14 min read
Choosing a Java ORM Framework: Key Factors, Popular Options, and Implementation Steps
Architecture Digest
Architecture Digest
Apr 2, 2024 · Backend Development

Outdated Java Backend Technologies and Learning Recommendations

The article examines which Java backend technologies are considered obsolete—such as JSP, Struts, Hibernate, and others—by applying criteria like practical usage, depth of understanding, and interview relevance, and advises learners on what to drop, prioritize, or master for modern development.

BackendHibernateJSP
0 likes · 7 min read
Outdated Java Backend Technologies and Learning Recommendations
macrozheng
macrozheng
Sep 12, 2023 · Backend Development

Which Java Technologies Are Still Worth Learning? A Practical Guide

This article reviews common Java technologies—JSP, Struts, Hibernate, Servlet, and others—evaluating their relevance for modern backend development based on practical usage, depth of understanding, and interview value, and offers clear recommendations on what to study or drop.

HibernateJavaServlet
0 likes · 9 min read
Which Java Technologies Are Still Worth Learning? A Practical Guide
Java Captain
Java Captain
Jul 21, 2023 · Backend Development

Outdated Java Technologies You Should Stop Learning

This article reviews several Java backend technologies—JSP, Struts, Hibernate, Servlet, and others—explaining why they are considered outdated or unnecessary for modern development and offering guidance on what newcomers should focus on instead.

Backend DevelopmentHibernateJSP
0 likes · 9 min read
Outdated Java Technologies You Should Stop Learning
Programmer DD
Programmer DD
May 22, 2023 · Backend Development

What’s New in Spring Boot 3.1? Key Features and Upgrades Explained

Spring Boot 3.1.0 introduces a host of enhancements—including automatic configuration for Spring Authorization Server, upgraded HttpClient support, refined Testcontainers integration, new Docker‑Compose capabilities, and updates to Hibernate, Jackson, Mockito, and SSL handling—while also providing detailed Maven and Gradle options for image building.

Backend DevelopmentDocker ComposeHibernate
0 likes · 10 min read
What’s New in Spring Boot 3.1? Key Features and Upgrades Explained
macrozheng
macrozheng
Oct 30, 2022 · Backend Development

Which Java Technologies Are Obsolete? A 20‑Year Veteran’s Guide

Drawing on two decades of Java experience, this article evaluates outdated Java technologies—JSP, Struts, Hibernate, and others—based on real‑world development relevance, interview usefulness, and depth of understanding, and offers clear recommendations on what to skip and what to master.

HibernateJSPJava
0 likes · 8 min read
Which Java Technologies Are Obsolete? A 20‑Year Veteran’s Guide
Java Captain
Java Captain
Oct 23, 2022 · Backend Development

Outdated Java Technologies: What to Skip and What to Master

The article reviews decades of Java development, explaining why technologies such as JSP, Struts, Hibernate, Applet, Swing, JDBC, and XML are now largely obsolete for new learners, and recommends focusing on Spring MVC, MyBatis, and a deep understanding of Servlets.

Backend DevelopmentHibernateJSP
0 likes · 8 min read
Outdated Java Technologies: What to Skip and What to Master
Programmer DD
Programmer DD
Apr 9, 2022 · Backend Development

Will Spring Data JPA Fail Under Load? Lessons from the New Nucleic Acid Code

After encountering repeated errors and timeouts while retrieving the newly introduced 'nucleic acid code' in China, the author uses the experience to discuss why Spring Data JPA can cause performance problems in high‑concurrency systems compared to MyBatis, urging careful framework selection and deep SQL knowledge.

HibernateJavaMyBatis
0 likes · 6 min read
Will Spring Data JPA Fail Under Load? Lessons from the New Nucleic Acid Code
Senior Brother's Insights
Senior Brother's Insights
Nov 17, 2021 · Databases

How I Fixed Persistent Account Balance Mismatches with Pessimistic Locks and Hibernate

After repeatedly encountering account balance discrepancies in a financial system, I traced the issue to improper use of pessimistic locks and Hibernate caching, then resolved it by correcting lock placement, optimizing SQL queries, and switching to native SQL, sharing the detailed debugging steps and lessons learned.

HibernateSQL Optimizationconcurrency
0 likes · 13 min read
How I Fixed Persistent Account Balance Mismatches with Pessimistic Locks and Hibernate
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
Architecture Digest
Architecture Digest
Aug 17, 2021 · Backend Development

Comprehensive Guide to Spring Validation: Best Practices, Scenarios, and Advanced Features

This article provides an in‑depth tutorial on Spring Validation, covering basic usage, requestBody and requestParam validation, group and nested validation, collection handling, custom constraints, programmatic validation, fail‑fast mode, and the underlying implementation details within Spring MVC and Hibernate Validator.

BackendHibernateJava
0 likes · 15 min read
Comprehensive Guide to Spring Validation: Best Practices, Scenarios, and Advanced Features
21CTO
21CTO
Jun 10, 2021 · Databases

Which Java DAO Framework Is Right for Your Project? A Comparative Guide

An in‑depth comparison of popular Java DAO frameworks—including JDBC, JOOQ, MyBatis, Hibernate, and Spring Data—covers their core concepts, code examples, ideal use cases, and limitations, helping developers choose the most suitable data‑access layer for their projects.

HibernateJDBCMyBatis
0 likes · 7 min read
Which Java DAO Framework Is Right for Your Project? A Comparative Guide
Laravel Tech Community
Laravel Tech Community
Oct 28, 2020 · Backend Development

Grails 4.0.5 Release: New Features, Updates, and Improvements

Grails 4.0.5 has been released, introducing new features such as enhanced REST API configuration, plugin.groovy loading, performance optimizations, and updates to Micronaut, Spring, SpringBoot, and GORM Datastore, along with improved documentation and resolved issues.

GrailsGroovyHibernate
0 likes · 2 min read
Grails 4.0.5 Release: New Features, Updates, and Improvements
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
Programmer DD
Programmer DD
Aug 28, 2020 · Backend Development

Master Spring Validation: Best Practices and Advanced Techniques

This article provides a comprehensive guide to Spring Validation, covering basic usage, dependency setup, requestBody and requestParam validation, group and nested validation, collection checks, custom constraints, programmatic validation, fail‑fast configuration, and the underlying implementation mechanisms within Spring MVC and Hibernate Validator.

BackendHibernatespring
0 likes · 17 min read
Master Spring Validation: Best Practices and Advanced Techniques
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
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
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
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Mar 11, 2020 · Backend Development

How to Build a Multi‑Tenant SaaS Application with Spring Boot and Dynamic Data Sources

This tutorial walks through designing and implementing a Spring Boot‑based SaaS platform that supports multiple tenants by dynamically switching databases or schemas, covering architecture overview, tenant identification, data‑source routing, Maven setup, entity and repository definitions, interceptor configuration, and a simple login test.

HibernateSaaSSpring Boot
0 likes · 27 min read
How to Build a Multi‑Tenant SaaS Application with Spring Boot and Dynamic Data Sources
Programmer DD
Programmer DD
Feb 11, 2020 · Backend Development

Preventing SQL Injection in Java: JDBC, MyBatis, JPA & Hibernate Best Practices

This article explains Java persistence technologies—including JDBC, MyBatis, JPA, and Hibernate—highlights common patterns that cause SQL injection, and provides concrete techniques such as parameterized PreparedStatement, MyBatis #{ } binding, dynamic SQL whitelisting, and proper JPA/Hibernate query parameter usage to securely handle user input.

HibernateJDBCJava
0 likes · 10 min read
Preventing SQL Injection in Java: JDBC, MyBatis, JPA & Hibernate Best Practices
Java Backend Technology
Java Backend Technology
Jan 5, 2020 · Backend Development

Which Java Framework Fits Your Project? A 2020 Top‑10 Guide

This article surveys Java’s evolution and market dominance, then evaluates the ten leading Java frameworks—Spring, Hibernate, Struts, Play, GWT, Grails, Blade, JSF, and Vaadin—highlighting their key features, use cases, and why choosing the right one is crucial for successful web development.

HibernateJavaWeb Development
0 likes · 9 min read
Which Java Framework Fits Your Project? A 2020 Top‑10 Guide
Programmer DD
Programmer DD
Dec 16, 2019 · Backend Development

Build a Multi‑Tenant SaaS with Spring Boot: Dynamic DataSource & Schema Switching

This tutorial walks through creating a SaaS application with Spring Boot that supports multiple tenants by using independent or shared databases with separate schemas, covering tenant identification, dynamic DataSource routing, Hibernate multi‑tenancy configuration, and a complete code example including Maven setup, entity definitions, interceptors, and a login test.

HibernateJavaSaaS
0 likes · 26 min read
Build a Multi‑Tenant SaaS with Spring Boot: Dynamic DataSource & Schema Switching
Programmer DD
Programmer DD
Dec 10, 2018 · Backend Development

How to Persist DDD Aggregates with JPA, Hibernate, and MongoDB

This tutorial walks through persisting Domain‑Driven Design aggregates by first explaining aggregates and aggregate roots, then showing Java class examples, followed by practical JPA/Hibernate integration challenges and a complete MongoDB document‑store solution, highlighting trade‑offs and best practices.

AggregatesDDDHibernate
0 likes · 14 min read
How to Persist DDD Aggregates with JPA, Hibernate, and MongoDB
Java Captain
Java Captain
Nov 26, 2018 · Backend Development

Design and Implementation of a Reusable Java Backend Framework (lyyzoo)

This article details the design of a reusable Java backend framework called lyyzoo, covering coding standards, Maven module hierarchy, dependency management, core utility classes, and Spring configuration for web, JPA, and transaction support, providing a comprehensive guide for building enterprise applications.

HibernateJavacode organization
0 likes · 25 min read
Design and Implementation of a Reusable Java Backend Framework (lyyzoo)
Java Captain
Java Captain
Nov 26, 2018 · Backend Development

Step‑by‑Step Guide to Building an Inventory Management System with Spring, Hibernate, and ExtJS

This article provides a comprehensive, step‑by‑step tutorial on designing and implementing a Java‑based inventory management system, covering requirement analysis, architecture, module design, development environment setup, and deployment using Spring, Spring MVC, Hibernate, ExtJS, Maven, and Tomcat.

Backend DevelopmentExtJSHibernate
0 likes · 9 min read
Step‑by‑Step Guide to Building an Inventory Management System with Spring, Hibernate, and ExtJS
Java Captain
Java Captain
May 13, 2018 · Backend Development

Essential Java Knowledge for Enterprise Development and Interview Preparation

This article outlines the fundamental Java SE concepts, servlet and JSP basics, HTML/JavaScript essentials, and the core SSH frameworks (Struts2, Spring, Hibernate) while providing interview questions and guidance on project modeling, design, and implementation for enterprise-level development.

Backend DevelopmentEnterpriseHibernate
0 likes · 11 min read
Essential Java Knowledge for Enterprise Development and Interview Preparation
Java Captain
Java Captain
Dec 20, 2017 · Backend Development

Java Web Interview Experience and Essential Knowledge Checklist

The author recounts a recent Alibaba Java Web interview journey, reflects on gaps uncovered during the process, and compiles a comprehensive list of core Java Web concepts—including JVM internals, servlets, Spring, Hibernate, Struts, HTTP fundamentals, and design patterns—to guide future learning and preparation.

HibernateServletWeb Development
0 likes · 13 min read
Java Web Interview Experience and Essential Knowledge Checklist
Java Captain
Java Captain
Dec 7, 2017 · Backend Development

Comprehensive Java Learning Roadmap: From Fundamentals to Advanced Web Development

This article presents a detailed Java learning roadmap that starts with front‑end basics, progresses through core Java SE concepts, object‑oriented programming, databases, web technologies, major frameworks, and advanced topics such as JPA, Lucene, and high‑performance architecture, offering a structured path for aspiring developers.

Backend DevelopmentHibernateJDBC
0 likes · 19 min read
Comprehensive Java Learning Roadmap: From Fundamentals to Advanced Web Development
Architecture Digest
Architecture Digest
Nov 6, 2017 · Backend Development

Understanding Concurrency, Synchronization, and Locking Mechanisms in Java and Hibernate

This article explains the concepts of synchronous and asynchronous execution, common concurrency problems such as dirty reads and non‑repeatable reads, and presents practical solutions using Java synchronized blocks, database pessimistic and optimistic locks, Hibernate lock modes, and performance‑optimizing techniques for high‑traffic web applications.

HibernateJavaconcurrency
0 likes · 25 min read
Understanding Concurrency, Synchronization, and Locking Mechanisms in Java and Hibernate
dbaplus Community
dbaplus Community
Oct 30, 2017 · Big Data

How to Build a Real‑Time Spam Monitoring System with Apache Storm

This article walks through the design, deployment, and code implementation of a real‑time spam detection pipeline using Apache Storm, comparing it with Hadoop, detailing cluster setup, topology components, data flow, and how to package and run the solution on a distributed Storm cluster.

Apache StormBig DataHibernate
0 likes · 13 min read
How to Build a Real‑Time Spam Monitoring System with Apache Storm
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
Jun 2, 2017 · Backend Development

Essential Java Web Skills Every Backend Developer Must Master

This guide outlines the core knowledge areas for Java web development, covering JVM fundamentals, servlet lifecycle, major frameworks like Spring and Hibernate, HTTP essentials, and design patterns, offering a concise roadmap for aspiring backend engineers.

HibernateServletWeb Development
0 likes · 8 min read
Essential Java Web Skills Every Backend Developer Must Master
Java Captain
Java Captain
Nov 24, 2016 · Backend Development

Essential Skills and Interview Preparation Guide for Java Software Engineers

This comprehensive guide outlines the core Java programming competencies, web development frameworks, project experience, management tools, system architecture components, interview questions, and personal evaluation tips that aspiring Java engineers should master before a job interview.

Backend DevelopmentHibernateInterview Preparation
0 likes · 11 min read
Essential Skills and Interview Preparation Guide for Java Software Engineers