Program JavaZone

Foredrag Onsdag 2. september

The best way to fetch multi-level hierarchies from a RDBMS using Java

Room 7

Engelsk 45 min Java Spring Data JPA Hibernate Blaze Persistence performance tuning

Vlad Mihalcea

Vlad Mihalcea is a Java Champion, creator of [Hypersistence Optimizer](https://vladmihalcea.com/hypersistence-optimizer/) and [Hypersistence Utils Open-Source project](https://github.com/vladmihalcea/hypersistence-utils).

He is passionate about communities, technical leadership, system architecture, and database systems.

He wrote hundreds of articles about Java, JPA, Hibernate, and SQL on [his blog](https://vladmihalcea.com), and he is the author of the [High-Performance Java Persistence book](https://vladmihalcea.com/books/high-performance-java-persistence/) and [video course](https://vladmihalcea.com/courses/) series.

In this talk, we're going to analyze the best way we can fetch a multi-level hierarchy from an RDBMS so that we can store the result set in a cache, such as Redis. I'm going to go through various solutions and analyze the performance impact of each option. From plain JDBC to JdbcTemplate, Spring Data JDBC, Spring Data JPA, and Blaze. Therefore, we are going to compare how all these options work and conclude what is the most efficient way to fetch a multi-level hierarchical structure with the most common Java data access technologies.

Any Java developer will surely find this talk useful since the requirement is very common and the results can be applied on many projects.

  1. Bootiful Spring Boot 4 Room 1
  2. Let’s create a tiny LLM library together Room 2
  3. My Year with Claude: Building Midimeria - music production analytics Room 3
  4. Talk to me Java! Room 4
  5. What RSCs can do in Next.js today Room 5
  6. Sunset as a Service: Når målet er EOL Room 6
  7. The 1% Problem: An Introduction to AI Security Room 8
  8. Conways lov i praksis Room 6
  9. Metodikk som tvangstrøye Room 6