Learn and code through real-world scenarios using a Spring Data JPA project.
Search Results for: sorting
Learn Spring Course
Get started with the Spring Framework by building a practical project with Spring 6 and Spring Boot 3.
How to Implement Elvis Operator in Java 8
Implement the Elvis operator in Java 8 using the Optional class and ternary operator.
How to Test a Spring AOP Aspect
Learn how to conduct unit and integration tests on Spring AOP aspects.
How to Use Pair With Java PriorityQueue
Learn how to use Comparators with PriorityQueues and how to change the sorting order in such queues.
Different Ways to Use Limit and Skip in MongoRepository
Explore the skip and limit functionalities within MongoRepository.
Merge Overlapping Intervals in a Java Collection
Learn how to take a Java collection of intervals and merge the overlapping ones.
Get List of Entity From Database in Hibernate
Explore a few techniques for retrieving lists of entities from a database using Hibernate
Querydsl vs. JPA Criteria
Discover the differences and similarities between JPA Criteria and Querydsl.
Finding the Majority Element of an Array in Java
Explore different approaches to finding the majority element within an array. Learn about their time and space complexities.
Get a Range of Items from a Stream in Java
Learn how to efficiently retrieve a range of items from a stream in Java.
Java Weekly, Issue 529
LINQ emulation in Java, JPA fetch types, stateless sessions in Hibernate, GC improvements, and Actor model concurrency.
Get All Results at Once in a Spring Boot Paged Query Method
Revisit how to retrieve data in pagination using Spring Boot how to retrieve all results at once using pagination
Creating Reactive APIs With Micronaut and MongoDB
Learn how to create reactive REST APIs with Micronaut and MongoDB.
Find Missing Number From a Given Array in Java
Learn multiple approaches to finding a single missing number from an array in the integer range [1-N].
Java Weekly, Issue 522
Upsert with Hibernate, CRaC, Loomed JDBC, sorting in Kotlin, checked exceptions, and lesser-known Apache projects!
@Query Definitions With SpEL Support in Spring Data JPA
Learn how to use Spring Expression Language to make custom queries more dynamic and hide database-specific actions in the repository layers.
Print a Double Value Without Scientific Notation in Java
Explore multiple ways for avoiding scientific notation when printing double values in Java.
Differences Between Entities and DTOs
Learn about the conceptual differences between an entity and a DTO by example in Java.
How to Sort LinkedHashMap by Values in Java
Explore how to sort a LinkedHashMap by values in Java.