Hibernate Upgrade
Migrate Hibernate 5 to Hibernate 6 with Spring Boot 3. Use when fixing HQL/JPQL query parsing issues, removing deprecated Criteria API, updating ID generation strategies, or diagnosing N+1 query behavior changes. Covers breaking changes, type mappings, and performance monitoring.
Install
npx skills add UCSB-NLP-Chang/Skill-Usage --skill hibernate-upgradegit clone --depth 1 https://github.com/UCSB-NLP-Chang/Skill-Usage.git /tmp/Skill-Usage
mkdir -p ~/.claude/skills
cp -r /tmp/Skill-Usage/tasks/spring-boot-jakarta-migration/environment/skills/hibernate-upgrade ~/.claude/skills/hibernate-upgradePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Hibernate 5 to 6 Upgrade Skill ## Overview Spring Boot 3 uses Hibernate 6, which includes significant changes from Hibernate 5. This skill covers the key migration considerations. ## Key Changes ### 1. Package Namespace Hibernate 6 uses Jakarta Persistence: ```java // Before (Hibernate 5) import javax.persistence.*; import org.hibernate.annotations.*; // After (Hibernate 6) import jakarta.persistence.*; import org.hibernate.annotations.*; ``` ### 2. ID Generation Strategies Hibernate 6 changed the default ID generation strategy: ```java // Recommended approach for cross-database compatibility @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; // Or using sequences (preferred for some databases) @Id @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "user_seq") @SequenceGenerator(name = "user_seq", sequenceName = "user_sequence", allocationSize = 1) private Long id; ``` ### 3. Dialect Configuration Hibernate 6 can auto-detect dialects in most cases: ```properties # Before (often required in Hibernate 5) spring.jpa.database-platform=org.hibernate.dialect.H2Dialect # After (Hibernate 6) - often can be removed # Hibernate auto-detects based on JDBC URL # Only specify if you need specific behavior ``` If you must specify:
Details
- Skill name
hibernate-upgrade- Repository
- UCSB-NLP-Chang/Skill-Usage
- Path
tasks/spring-boot-jakarta-migration/environment/skills/hibernate-upgrade/SKILL.md- Repo updated
- 8 April 2026
FAQ
What does the Hibernate Upgrade skill do?
Migrate Hibernate 5 to Hibernate 6 with Spring Boot 3. Use when fixing HQL/JPQL query parsing issues, removing deprecated Criteria API, updating ID generation strategies, or diagnosing N+1 query behavior changes. Covers breaking changes, type mappings, and performance monitoring.
How do I install the Hibernate Upgrade skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add UCSB-NLP-Chang/Skill-Usage --skill hibernate-upgrade. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Hibernate Upgrade popular?
It lives in UCSB-NLP-Chang/Skill-Usage, which has 49 GitHub stars and 5 forks.
Related skills
Pubchem Database
49UCSB-NLP-Chang/Skill-Usage
Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.
Pymatgen
49UCSB-NLP-Chang/Skill-Usage
Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.
Rdkit
49UCSB-NLP-Chang/Skill-Usage
Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom sanitization, specialized algorithms.
Container Orchestration
48sethdford/claude-skills
Design Kubernetes clusters for scaling, service discovery, storage, and networking. Plan upgrades and multi-cluster strategies. Use when architecting container infrastructure.
Azure Bgp
49UCSB-NLP-Chang/Skill-Usage
Analyze and resolve BGP oscillation and BGP route leaks in Azure Virtual WAN–style hub-and-spoke topologies (and similar cloud-managed BGP environments). Detect preference cycles, identify valley-free violations, and propose allowed policy-level mitigations while rejecting prohibited fixes.
Cost Optimization
48sethdford/claude-skills
Optimize infrastructure and operational costs without sacrificing performance or reliability. Use when managing cloud budgets or improving unit economics.
Browse the most popular Claude skills, all devops & cloud skills, or write your own with the skills generator.