Java EE Persistence Verifier
Validates JPA persistence.xml configurations to ensure environment-specific variables are used instead of hardcoded values before deployment.
The verify-persistence skill is a specialized utility for Java EE developers that automates the audit of JPA configuration files. It specifically targets the persistence.xml file to identify common deployment pitfalls, such as hardcoded JNDI datasource names and local file system paths for DDL generation. By enforcing the use of environment variables like ${JDBC_DATASOURCE}, this skill ensures that your application remains portable and deployment-ready for QA and production environments, significantly reducing the risk of CI/CD pipeline failures caused by environment-specific configuration drift.
Key Features
01Interactive fix suggestions for identified configuration issues
02Detection of hardcoded JNDI datasource names (e.g., jdbc/coop)
03Identification of absolute local file paths in DDL generation settings
04Automated scanning of src/main/resources/META-INF/persistence.xml
05Comprehensive deployment-readiness reporting
06214 GitHub stars
Use Cases
01Standardizing JPA configurations across distributed Java development teams
02Pre-push validation to prevent QA and production deployment failures
03Automating environment-specific configuration audits for legacy Java EE migrations