spring-data-jpa

Installation
SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Define JPA entities with annotations (@Entity, @Id, @Column)
  • Create Spring Data repositories (JpaRepository, CrudRepository)
  • Use derived query methods, @Query with JPQL/native SQL, and Specifications
  • Configure data sources, Hibernate dialect, and transaction management
  • Handle pagination, sorting, auditing, and entity graphs

How to use this skill

Workflow

  1. Define entities with JPA annotations and relationship mappings
  2. Create repositories extending JpaRepository with derived or custom query methods
  3. Configure the data source in application.yml or application.properties
  4. Use services to encapsulate business logic with proper transaction boundaries

1. Entity Definition

Related skills

More from teachingai/full-stack-skills

Installs
53
GitHub Stars
381
First Seen
Jan 24, 2026