clean imports

This commit is contained in:
Peter Hormanns 2012-04-05 13:24:05 +00:00
parent 6f7e29ea05
commit df89a9d79d
2 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
package de.hsadmin.mods.pac;
import static javax.persistence.CascadeType.ALL;
import static javax.persistence.FetchType.LAZY;
import static javax.persistence.GenerationType.SEQUENCE;
import java.io.Serializable;
@ -10,6 +9,7 @@ import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
@ -52,10 +52,10 @@ public class BasePac implements Serializable {
@Column(name = "valid", columnDefinition = "boolean")
private boolean valid;
@OneToMany(fetch = LAZY, cascade = ALL)
@OneToMany(fetch = FetchType.LAZY, cascade = ALL)
private Set<Component> components;
@OneToMany(fetch = LAZY, cascade = ALL)
@OneToMany(fetch = FetchType.LAZY, cascade = ALL)
@JoinTable(name = "packet_component", joinColumns = @JoinColumn(name = "packet_id"), inverseJoinColumns = @JoinColumn(name = "basepacket_id"))
private Set<Pac> pacs;

View File

@ -26,7 +26,6 @@ import javax.persistence.Transient;
import de.hsadmin.core.model.AbstractEntity;
import de.hsadmin.core.model.EntityInfo;
import de.hsadmin.core.model.ModuleImpl;
import de.hsadmin.mods.cust.Customer;
import de.hsadmin.mods.user.UnixUser;