Type mismatch: cannot convert from org.hibernate.annotations.CascadeType to javax.persistence.Cascad

来源:互联网 发布:河北中标数据网 编辑:程序博客网 时间:2024/05/22 05:19

Type mismatch: cannot convert from org.hibernate.annotations.CascadeType to javax.persistence.CascadeType

 

错误原因:包引用错误

错误引用:import org.hibernate.annotations.CascadeType;

正确引用:import javax.persistence.CascadeType;

原创粉丝点击