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
