HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-09-21 3cf661b0d61c0cdc87455ecb9950fa4bf20b6ef0
dont delete domainoption an domain.delete
1 files modified
2 ■■■ changed files
hsarback/src/de/hsadmin/mods/dom/Domain.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/dom/Domain.java
@@ -57,7 +57,7 @@
    private String dnsMaster;
    @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", 
        joinColumns={@JoinColumn(name="domain_id", referencedColumnName="domain_id")},
        inverseJoinColumns={@JoinColumn(name="domain_option_id", referencedColumnName="domain_option_id")})