Learn various methods to retrieve distinct entities and fields with Spring Data JPA.
Also find me here:
Baeldung Author
Manfred Ng
I have been a software developer since graduation and have worked on diverse projects using various Java technologies and frameworks. I enjoy gaming and staying active during my free time. 😎
Here's what I've written (so far):
Baeldung on Java
- All
- JPA (6)
- Spring AI (5)
- Java IO (5)
- Spring Data (4)
- Spring Boot (4)
- Persistence (4)
- Java String (4)
- Artificial Intelligence (4)
- Testing (2)
- Java Web (2)
- Spring Web (1)
- Spring (1)
- Security (1)
- REST (1)
- Java Array (1)
- Java (1)
- Data (1)
- Algorithms (1)
Clear Managed Entities in JPA/Hibernate
Filed under JPA
Review how entities are managed in JPA and explore a scenario where the persistence context may not return fresh data due to external changes.
How to Test a Spring AOP Aspect
Learn how to conduct unit and integration tests on Spring AOP aspects.
Introduction to DuckDB
Filed under Persistence
Learn about the advantages of the DuckDB database and some fundamental operations via illustrative examples
Spring Data JPA Repository for Database View
Filed under Spring Data
Learn how Spring Data repositories can be effectively applied to database views
Calling Custom Database Functions With JPA and Spring Boot
Filed under JPA, Spring Boot
Explore various approaches to calling custom database functions within JPA and Spring Boot applications.
Get All Results at Once in a Spring Boot Paged Query Method
Filed under Spring Data
Revisit how to retrieve data in pagination using Spring Boot how to retrieve all results at once using pagination
Storing PostgreSQL JSONB Using Spring Boot and JPA
Filed under JPA, Spring Boot
Learn how to proficiently store and manage JSON data in PostgreSQL using Spring Boot and JPA
UTF-8 Validation in Java
Filed under Java String
Explore UTF-8 encoded bytes and string conversion and different types of UTF-8 validation based on byte and stream.