Add migration-5-to-7 module: Hibernate 5.6.15 vs 7.4.14 jar diff, compile checks, schema defaults and cheat-sheet snippets

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YPgGH6aMbSLANL3E2HHmS6
This commit is contained in:
2026-10-25 19:17:24 +00:00
co-authored by Claude Sonnet 5.5
parent 357ba84e5c
commit aea104f021
57 changed files with 5187 additions and 0 deletions
@@ -0,0 +1,32 @@
Hibernate 5.6.15, compiling NewAnnotations.java
src/compat/NewAnnotations.java:1: error: cannot find symbol
import org.hibernate.annotations.JdbcTypeCode;
^
symbol: class JdbcTypeCode
location: package org.hibernate.annotations
src/compat/NewAnnotations.java:2: error: cannot find symbol
import org.hibernate.annotations.SQLRestriction;
^
symbol: class SQLRestriction
location: package org.hibernate.annotations
src/compat/NewAnnotations.java:3: error: cannot find symbol
import org.hibernate.type.SqlTypes;
^
symbol: class SqlTypes
location: package org.hibernate.type
src/compat/NewAnnotations.java:6: error: cannot find symbol
@SQLRestriction("deleted = false")
^
symbol: class SQLRestriction
src/compat/NewAnnotations.java:9: error: cannot find symbol
@JdbcTypeCode(SqlTypes.CHAR)
^
symbol: class JdbcTypeCode
location: class NewAnnotations
src/compat/NewAnnotations.java:9: error: cannot find symbol
@JdbcTypeCode(SqlTypes.CHAR)
^
symbol: variable SqlTypes
location: class NewAnnotations
6 errors
javac exit status: 1