Explore a few techniques for retrieving lists of entities from a database using Hibernate
Also find me here:
Baeldung Author
Wynn Teo
I’m Wynn, a Full-stack Developer with a 10+ years of experience. I began my journey in the tech world during my university days in Singapore, and coding has been my passion ever since. I enjoy learning, especially when it comes to all things tech. The journey of gaining knowledge is what keeps me going.
Here's what I've written (so far):
Baeldung on Java
- All
- JPA (10)
- Spring Data (6)
- Persistence (6)
- Java Concurrency (6)
- Web Services (4)
- Java Numbers (4)
- JSON (4)
- Spring Boot (3)
- Networking (3)
- Java List (3)
- Java IO (3)
- Java Array (3)
- Java (3)
- HTTP Client-Side (3)
- Core Java (3)
- Algorithms (3)
- Testing (2)
- Spring (2)
- Java String (2)
- Java Dates (2)
- Jackson (2)
- Data (2)
- Spring Cloud (1)
- Security (1)
- REST (1)
- NoSQL (1)
- Java Map (1)
- Java Collections (1)
- Cloud (1)
Guide to ExecutorService vs. CompletableFuture
Filed under Java Concurrency
Explore two essential Java classes for handling asynchronous tasks: ExecutorService and CompletableFuture.
Checking if a Date Object Equals Yesterday
Filed under Java Dates
Explore various approaches for determining whether a given date object falls on yesterday.
Refresh and Fetch an Entity After Save in JPA
Filed under JPA, Spring Data
Explore various strategies and techniques to effectively refresh and fetch entities after saving in JPA.
Finding the Majority Element of an Array in Java
Filed under Java Array
Explore different approaches to finding the majority element within an array. Learn about their time and space complexities.
Query Hints in Spring Data JPA
Filed under Spring Data
Explore query hints in Spring Data JPA and learn how they can help optimize database queries.
@DataJpaTest and Repository Class in JUnit
Filed under Spring Data, Testing
Learn how to use @DataJpaTest to test our JPA repository in JUnit.
Difference Between thenApply() and thenApplyAsync() in CompletableFuture
Filed under Java Concurrency
Explore the functionalities and differences between the thenApply() and thenApplyAsync() methods in Java’s CompletableFuture.
CompletableFuture runAsync() vs. supplyAsync() in Java
Filed under Java Concurrency
Learn about two essential methods offered by Java’s CompletableFuture, explore their differences, use cases, and when to choose one over the other