Learn how to paginate and sort query results in Spring Data JPA.
Here's what I've written (so far):
Baeldung on Java
- All
- Spring Data (2)
- Java Dates (2)
- Java (2)
- JPA (2)
- Core Java (2)
- Spring Boot (1)
- Persistence (1)
- Logging (1)
- Java String (1)
- Java Array (1)
- JSON (1)
- Algorithms (1)
Difference Between @JoinColumn and mappedBy
Filed under JPA
Learn about the difference between @JoinColumn and mappedBy and how to use them in a one-to-many bidirectional relationship.
Get a Value by Key in a JSONArray
Filed under JSON
Learn how to parse a JSONArray to get all the mapped values for a given key.
Ternary Operator in Java
Filed under Core Java
Learn about the ternary operator ?:, which allows us to define conditional expressions in Java.
Check if Two Rectangles Overlap in Java
Filed under Algorithms, Java
Explore how to solve an algorithmic problem of finding whether the two given rectangles overlap with each other, using Java.
Add Hours to a Date in Java
Filed under Java Dates
Learn several ways to add or subtract a given number of hours from a date in Java.