ADD: failing testcase for dropping two or more related, but otherwise unreferenced tables

This commit is contained in:
Jonas Pöhler
2023-01-13 15:14:35 +01:00
parent bbb8d85971
commit 2c81d0df03
78 changed files with 1171 additions and 48 deletions
@@ -0,0 +1,33 @@
package misc.migration.v1_0;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
@Entity
@Table(name = "drop_ref_one")
public class DropRefOne {
@Id
Integer id;
@ManyToOne(cascade = {})
DropMain parent;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public DropMain getParent() {
return parent;
}
public void setParent(DropMain parent) {
this.parent = parent;
}
}