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 Emmanuel Bernard
|
||||||
* @author Steve Ebersole
|
* @author Steve Ebersole
|
||||||
|
*
|
||||||
|
* @deprecated Use the JPA-defined
|
||||||
|
* {@link jakarta.persistence.CascadeType}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated(since = "7")
|
||||||
@Target({METHOD, FIELD})
|
@Target({METHOD, FIELD})
|
||||||
@Retention(RUNTIME)
|
@Retention(RUNTIME)
|
||||||
public @interface Cascade {
|
public @interface Cascade {
|
||||||
|
|
|
@ -30,7 +30,11 @@ import org.hibernate.ReplicationMode;
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* @see Cascade
|
* @see Cascade
|
||||||
|
*
|
||||||
|
* @deprecated Use the JPA-defined
|
||||||
|
* {@link jakarta.persistence.CascadeType}
|
||||||
*/
|
*/
|
||||||
|
@Deprecated(since = "7")
|
||||||
public enum CascadeType {
|
public enum CascadeType {
|
||||||
/**
|
/**
|
||||||
* Includes all types listed here.
|
* Includes all types listed here.
|
||||||
|
|
Loading…
Reference in New Issue