A quick and practical guide to property-based testing with jqwik.
Search Results for: property
Fix Spring Data JPA Exception: No Property Found for Type
This article explains how to fix the “PropertyReferenceException: No property found for type” in Spring Data JPA. It advises using exact property names when defining query methods to avoid the exception. Practical examples are provided.
Hibernate’s “Not-Null Property References a Null or Transient Value” Error
Learn about Hibernate’s PropertyValueException. In particular, the “not-null property references a null or transient value” error message.
Guide to @DynamicPropertySource in Spring
Learn how to leverage @DynamicPropertySource to manage testing with external applications.
The Spring @ConditionalOnProperty Annotation
Learn all about the Spring @ConditionalOnProperty annotation.
@PropertySource with YAML Files in Spring Boot
A quick and practical guide to handling YAML files with @PropertySource in Spring Boot.
Spring Data Redis’s Property-Based Configuration
Learn how to configure Spring Boot to talk to Redis via Lettuce
Quick Guide to Hibernate enable_lazy_load_no_trans Property
Lazy loading can reduce unnecessary database traffic, but it requires all lazy-loaded object navigation within the session. Hibernate provides a workaround.
Swagger @ApiParam vs @ApiModelProperty
Learn the difference between Swagger’s @ApiParam and @ApiModelProperty
A Quick Guide to @TestPropertySource
Learn how to use the @TestPropertySource Spring annotation effectively.
Java System.getProperty vs System.getenv
Learn exactly how to use getProperty and getenv with java.lang.System.
Spring Custom Property Editor
Have a look at how you can convert between Strings and custom objects in Spring.
Automatic Property Expansion with Spring Boot
Learn about the property expansion mechanism provided by Spring through Maven and Gradle build methods.
How to Inject a Property Value Into a Class Not Managed by Spring?
Learn how to initialize properties values in Java classes without the direct use of Spring’s injection mechanism.
Property Testing Example With Vavr
Learn about Property Based Testing, and how Vavr library makes writing them easy.
Intro to Apache Commons Configuration Project
Apache Commons Configuration can be used to allow us to specify configuration parameters to be loaded at runtime by our application. We look at a few use cases and types of configuration files.
Get 2’s Complement of a Number in Java
Learn how to get the 2’s complement of a number in Java.
PersistenceUnit vs. PersistenceContext
Learn the main differences between PersistenceUnit vs. PersistenceContext in the JPA context.
Implement the Builder Pattern in Java 8
Learn how to implement a Builder Pattern in Java 8.
Java Weekly, Issue 538
Stream gatherers in Java 23, small additions in Spring, modern Jakarta EE, AOP logging, and Meta patterns!