Tag

DefaultValue

0 views collected around this technical thread.

Cognitive Technology Team
Cognitive Technology Team
Feb 26, 2025 · Backend Development

Understanding Lombok @Builder Default Value Issue and Its Solution

This article explains why Lombok's @Builder annotation ignores field default values in Java classes, demonstrates the issue with sample code, and shows how using @Builder.Default resolves the problem by generating static default methods in the compiled builder class.

AnnotationsBuilderDefaultValue
0 likes · 7 min read
Understanding Lombok @Builder Default Value Issue and Its Solution
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Feb 21, 2025 · Backend Development

Master Spring Boot 3 Config: @ConfigurationProperties, Constructor Binding & Default Values

This article introduces a comprehensive Spring Boot 3 case collection and provides a detailed guide on using @ConfigurationProperties, constructor binding, @DefaultValue, and record types for type‑safe configuration, including examples of nested properties, collections, and default values, while promising ongoing updates and free source code for subscribers.

ConfigurationPropertiesDefaultValueJava
0 likes · 9 min read
Master Spring Boot 3 Config: @ConfigurationProperties, Constructor Binding & Default Values