hibernate
Installation
SKILL.md
Hibernate Skill
Manages Hibernate 6 / Jakarta Persistence 3.x configuration in this Spring Boot 3 project, including entity modeling, relationship mapping, DDL strategy, and datasource switching between H2 (dev) and Postgres/MySQL (prod).
Quick Start
Entities live in src/main/java/com/example/api/entity/. Configuration is in src/main/resources/application.properties. The active DDL strategy is create-drop (dev); switch to validate before production.
# Verify entity/schema alignment after changes
mvn test -Dtest=ApplicationTests
# Full build with schema validation
mvn clean install