在下面的代码中,我覆盖了CityImage类的save()和delete(),以便在从数据库中添加/删除图像时从亚马逊S3上传/删除图像。public class City extends Model {
public Long id;
public List<CityImage> images;public class CityImage extends Model {
public Long id
我想在删除许可证或用户时删除tbl_license_user_alert中的所有行:层叠属性还是@层叠注释?@Entitypublic class License implements Serializable private static final long serialVersionUID = 1L;
@GeneratedValue
@Column( name = "id", nulla