dont delete domainoption an domain.delete
This commit is contained in:
parent
96675a06eb
commit
3cf661b0d6
@ -57,7 +57,7 @@ public class Domain extends AbstractEntity {
|
|||||||
private String dnsMaster;
|
private String dnsMaster;
|
||||||
|
|
||||||
@AnnFieldIO(validation="[a-zA-Z0-9\\-\\.]*", rw=ReadWriteAccess.READWRITE, referTo=DomainOption.class)
|
@AnnFieldIO(validation="[a-zA-Z0-9\\-\\.]*", rw=ReadWriteAccess.READWRITE, referTo=DomainOption.class)
|
||||||
@ManyToMany(cascade={CascadeType.ALL}, fetch=FetchType.EAGER)
|
@ManyToMany(fetch=FetchType.EAGER)
|
||||||
@JoinTable(name="domain__domain_option",
|
@JoinTable(name="domain__domain_option",
|
||||||
joinColumns={@JoinColumn(name="domain_id", referencedColumnName="domain_id")},
|
joinColumns={@JoinColumn(name="domain_id", referencedColumnName="domain_id")},
|
||||||
inverseJoinColumns={@JoinColumn(name="domain_option_id", referencedColumnName="domain_option_id")})
|
inverseJoinColumns={@JoinColumn(name="domain_option_id", referencedColumnName="domain_option_id")})
|
||||||
|
Loading…
Reference in New Issue
Block a user