HHH-18554 deprecate @Cascade and CascadeType
This commit is contained in:
parent
30f2a2045d
commit
d269637f77
|
@ -30,7 +30,11 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||
*
|
||||
* @author Emmanuel Bernard
|
||||
* @author Steve Ebersole
|
||||
*
|
||||
* @deprecated Use the JPA-defined
|
||||
* {@link jakarta.persistence.CascadeType}
|
||||
*/
|
||||
@Deprecated(since = "7")
|
||||
@Target({METHOD, FIELD})
|
||||
@Retention(RUNTIME)
|
||||
public @interface Cascade {
|
||||
|
|
|
@ -30,7 +30,11 @@ import org.hibernate.ReplicationMode;
|
|||
* </pre>
|
||||
*
|
||||
* @see Cascade
|
||||
*
|
||||
* @deprecated Use the JPA-defined
|
||||
* {@link jakarta.persistence.CascadeType}
|
||||
*/
|
||||
@Deprecated(since = "7")
|
||||
public enum CascadeType {
|
||||
/**
|
||||
* Includes all types listed here.
|
||||
|
|
Loading…
Reference in New Issue