Skip to content
Back to skills

Spring Boot Data Access

ASecurity

Use Flyway or Liquibase for versioned, reviewable migrations. Keep each migration immutable and apply it as part of deployment before code that depends on the new schema. For example, with Flyway add the Spring Boot Flyway integration and place migrations under `db/migration` using names such as `V1__create_orders.sql` and `V2__add_status.sql`. Keep schema ownership and migration history with the service. Do not use `spring.jpa.hibernate.ddl-auto=create` in production; it can destroy or recre...

  • 584 stars
  • 0 votes
  • 1 copy
  • 4 views
  • Added September 5, 2026
developmentsqlspringdatabase

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned September 5, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill spring-boot-data-access --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spring Boot Data Access?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spring Boot Data Access
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-spring-boot-data-access-c8711ff8/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-spring-boot-data-access-c8711ff8)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
Use Flyway or Liquibase for versioned, reviewable migrations. Keep each migration immutable and apply it as part of deployment before code that depends on the new schema. For example, with Flyway add the Spring Boot Flyway integration and place migrations under `db/migration` using names such as `V1__create_orders.sql` and `V2__add_status.sql`.

Keep schema ownership and migration history with the service. Do not use `spring.jpa.hibernate.ddl-auto=create` in production; it can destroy or recreate data. Prefer a non-destructive setting such as `validate` (or a deliberately managed `none`) so Hibernate checks rather than owns production schema evolution. Test migrations against the real database engine, including clean installation and upgrade-from-current-version paths.

Database changes should be backward compatible during rolling deployment: add nullable/new structures first, deploy code that can read both shapes if needed, backfill, then enforce constraints or remove old fields later. Put transaction boundaries in services, use `@Transactional(readOnly = true)` for reads, and ensure migration failures stop deployment rather than being silently ignored.


Files in this skill

  • eval-1.baseline.md799 B
  • eval-1.with-skill.md1.2 KB
  • eval-2.baseline.md727 B
  • eval-2.with-skill.md1.1 KB
  • eval-3.baseline.md686 B
  • eval-3.with-skill.md1.2 KB
  • trigger-1.md127 B
  • trigger-2.md107 B
  • trigger-3.md101 B
  • trigger-4.md118 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.