Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好,如何将“未分配”值放在一个表上,该表在删除时与另一个表有级联连接,而不是在实体中将其保留为空?
@OneToMany(fetch = FetchType.LAZY,cascade= CascadeType.ALL) @JoinColumn(name = "departmentName")