hibernate-upgrade
OfficialUpgrade Hibernate 5 to 6 in Spring Boot 3.
AuthorGeneralReasoning
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Migrate Hibernate 5 to Hibernate 6 within Spring Boot 3 projects to resolve breaking changes, deprecated APIs, and compatibility issues during upgrades.
Core Features & Use Cases
- Update package namespace from javax.persistence to jakarta.persistence across entities and configuration.
- Adjust ID generation strategies and default behaviors to align with Hibernate 6.
- Update query syntax and mappings (JPQL, HQL, and native queries) and address N+1 issues and performance considerations.
- Troubleshoot migrations with tests, configuration adjustments, and verification of entity mappings.
Quick Start
Follow the migration guidance to upgrade a Spring Boot 3 project from Hibernate 5 to Hibernate 6 by updating dependencies, code, and configuration.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: hibernate-upgrade Download link: https://github.com/GeneralReasoning/env-skillsbench/archive/main.zip#hibernate-upgrade Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.