Tagged articles
2 articles
Page 1 of 1
php Courses
php Courses
Aug 15, 2024 · Backend Development

Using Accessors and Mutators in PHP for Data Handling

This article explains PHP accessors and mutators, demonstrating how to define getter and setter methods, incorporate additional logic such as formatting, validation, and caching, and provides complete code examples to illustrate their practical use in backend development.

AccessorMutatorObject-Oriented
0 likes · 7 min read
Using Accessors and Mutators in PHP for Data Handling
Java Interview Crash Guide
Java Interview Crash Guide
Sep 22, 2023 · Backend Development

Why Lombok’s Getter/Setter Breaks MyBatis and EasyExcel – and How to Fix It

This article explains how Lombok’s unconventional getter/setter naming for fields with a lowercase‑first, uppercase‑second pattern causes MyBatis to map enum properties as null, and how the @Accessor(chain=true) annotation in EasyExcel triggers cglib reflection issues, then provides practical workarounds for both problems.

AccessorGetterSetterJava
0 likes · 9 min read
Why Lombok’s Getter/Setter Breaks MyBatis and EasyExcel – and How to Fix It