Skip to content
ISBN: B0HCKCNL64
ISBN13: 9798190265262

Spring Boot Database Development: Master PostgreSQL, JPA, Hibernate, Relationships, Transactions, Migrations, and Performance

$22.99List Price: $22.99
ISBN: B0HCKCNL64
ISBN13: 9798190265262
Formats

Conditions

A brand-new, unused copy in perfect condition.

Formats

Conditions

A brand-new, unused copy in perfect condition.

See all 1 editionsfrom $22.99

Book Overview

Book Description

Build reliable, scalable, and production-ready database applications with Spring Boot and PostgreSQL.

Spring Boot Database Development is a practical guide to designing and implementing professional persistence layers using Java 21, Spring Boot 4.x, Spring Data JPA, Hibernate, PostgreSQL, Flyway, and Testcontainers.

As Book 2 of the Spring Boot Development Series, it builds naturally on the REST API foundation established in Book 1. Rather than presenting disconnected examples, the book develops one connected Order and Inventory Management application, showing how database concepts work together in a realistic project.

You will learn how to design relational schemas, map entities correctly, create repositories and queries, manage relationships, protect multi-step operations with transactions, handle concurrent updates, evolve schemas safely, and diagnose performance problems.

Inside, you will discover how to:

  • Design PostgreSQL tables, keys, constraints, and indexes

  • Map entities, value objects, dates, enums, and monetary values

  • Build repositories with CRUD, pagination, JPQL, projections, and specifications

  • Model one-to-many, one-to-one, and association-entity relationships

  • Use cascades, orphan removal, and fetch strategies safely

  • Manage transactions, isolation levels, rollbacks, and propagation

  • Prevent lost updates with optimistic and pessimistic locking

  • Handle race conditions, duplicate operations, and deadlocks

  • Manage schema changes with versioned and repeatable Flyway migrations

  • Test repositories, constraints, transactions, and migrations with PostgreSQL Testcontainers

  • Detect N+1 queries and analyze performance with EXPLAIN ANALYZE

  • Configure batching, pagination, connection pools, and production monitoring

The explanations remain beginner-friendly while addressing the decisions developers face in real applications. You will not simply learn which annotation to use-you will understand why it matters, when it is appropriate, and which common mistakes can damage data integrity or performance.

By the end of the book, you will have a tested, migration-driven, concurrency-aware, and production-ready persistence layer that can support the next stage of the series: Spring Security for REST APIs.

Format:
Paperback
Language:
English
ISBN:
B0HCKCNL64
ISBN13:
9798190265262
Release Date:
August 2026
Publisher:
Independently Published
Length:
320 Pages
Weight:
1.23 lbs.
Dimensions:
0.7″ × 7.0″ × 10.0″
ComputersComputers & Technology

Customer Reviews

0 customer ratings | 0 reviews
Write a Review

There are currently no reviews. Be the first to review this work.