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:
@@ -0,0 +1,27 @@
|
||||
Hibernate 7.4.14, compiling OldAnnotations.java
|
||||
src/compat/OldAnnotations.java:3: error: cannot find symbol
|
||||
import org.hibernate.annotations.Where;
|
||||
^
|
||||
symbol: class Where
|
||||
location: package org.hibernate.annotations
|
||||
src/compat/OldAnnotations.java:7: error: cannot find symbol
|
||||
@Where(clause = "deleted = false")
|
||||
^
|
||||
symbol: class Where
|
||||
src/compat/OldAnnotations.java:10: error: cannot find symbol
|
||||
@Type(type = "yes_no")
|
||||
^
|
||||
symbol: method type()
|
||||
location: @interface Type
|
||||
src/compat/OldAnnotations.java:10: error: annotation @Type is missing a default value for the element 'value'
|
||||
@Type(type = "yes_no")
|
||||
^
|
||||
src/compat/OldAnnotations.java:13: warning: [removal] GenericGenerator in org.hibernate.annotations has been deprecated and marked for removal
|
||||
@GenericGenerator(name = "g", strategy = "increment")
|
||||
^
|
||||
src/compat/OldAnnotations.java:13: warning: [removal] strategy() in GenericGenerator has been deprecated and marked for removal
|
||||
@GenericGenerator(name = "g", strategy = "increment")
|
||||
^
|
||||
4 errors
|
||||
2 warnings
|
||||
javac exit status: 1
|
||||
Reference in New Issue
Block a user