Session

Look who's talking!

Maciej Walkowiak

Relational Persistence with Spring Data JDBC Workshop

Maciej Walkowiak

Relational SQL databases are the default and often the best choice for persisting your data. After years of JPA dominance there is finally an alternative that fits object oriented mindset most Java developers are comfortable with - Spring Data JDBC.

Spring Data JDBC is a simple, limited, opinionated ORM. It’s by design not as feature rich as JPA - it doesn’t offer lazy loading, caching, bi-directional relationships - features that you often don’t need. Instead it lets write code that is simple and easy to comprehend.

In this hands-on workshop participants will learn how to build persistence layer with Spring Data JDBC including entities and repositories design. We will use Flyway to execute database migrations and TestContainers to test repositories with same database as used in production.