Search⌘ K
AI Features

Introduction: Driving the Database Layer

Explore how to apply test-driven development to the database layer in Java. Learn to write integration tests with DBRider, implement database adapters using Jdbi, and securely fetch data from PostgreSQL to enhance your application's domain model.

We'll cover the following...

TDD for Wordz database layer

In this chapter, we’ll implement a database adapter for one of our ports in the domain model, represented by the WordRepository interface. This will allow our domain model to fetch words to guess from ...