What problem does it solve?
Many Spring Boot developers struggle with correctly modeling entities, handling relationships, preventing N+1 queries, and tuning performance with pagination, transactions, and connection pools.
Core Features & Use Cases
- Entity Design: Templates with auditing, indexing, and lifecycle hooks.
- Relationship Mapping & N+1 Prevention: Lazy loading defaults, JOIN FETCH examples, and projection usage.
- Repository Patterns: Standard CRUD interfaces, custom queries, and projection interfaces for lightweight data access.
- Transaction Management: Guidelines for @Transactional scopes and read‑only optimization.
- Pagination & Sorting: PageRequest examples for efficient result paging.
- Performance Tuning: Index recommendations, batch writes, HikariCP configuration, and cache considerations.
- Migration & Testing: Advice on Flyway/Liquibase migrations and Testcontainers for data‑access tests.
Quick Start
Generate a MarketEntity class following the example and use MarketRepository to retrieve active markets with a paginated query.