Skip to content
Scan a barcode
Scan
Paperback Spring Boot Database Development: Master PostgreSQL, JPA, Hibernate, Relationships, Transactions, Migrations, and Performance Book

ISBN: B0HCKCNL64

ISBN13: 9798190265262

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

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.

Recommended

Format: Paperback

Condition: New

$22.99
Ships within 2-3 days
Save to List

Customer Reviews

0 rating
Copyright © 2026 Thriftbooks.com Terms of Use | Privacy Policy | Do Not Sell/Share My Personal Information | Cookie Policy | Cookie Preferences | Accessibility Statement
ThriftBooks ® and the ThriftBooks ® logo are registered trademarks of Thrift Books Global, LLC
GoDaddy Verified and Secured