diff --git a/hsarback/src/de/hsadmin/mods/pac/Pac.java b/hsarback/src/de/hsadmin/mods/pac/Pac.java index 8dc6734..a17e666 100644 --- a/hsarback/src/de/hsadmin/mods/pac/Pac.java +++ b/hsarback/src/de/hsadmin/mods/pac/Pac.java @@ -35,7 +35,7 @@ import de.hsadmin.mods.user.UnixUser; @EntityInfo(name = "Paket") public class Pac extends AbstractEntity implements Serializable { - private static final long serialVersionUID = 1201899873300190132L; + private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = SEQUENCE, generator = "PacsSeqGen") diff --git a/hsarback/src/de/hsadmin/mods/pac/PacComponent.java b/hsarback/src/de/hsadmin/mods/pac/PacComponent.java index d57bf8c..3892048 100644 --- a/hsarback/src/de/hsadmin/mods/pac/PacComponent.java +++ b/hsarback/src/de/hsadmin/mods/pac/PacComponent.java @@ -1,5 +1,6 @@ package de.hsadmin.mods.pac; +import java.io.Serializable; import java.util.Date; import javax.persistence.Column; @@ -15,8 +16,10 @@ import javax.persistence.TemporalType; @Entity(name = "PacComponents") @Table(name = "packet_component") @IdClass(PacComponentId.class) -public class PacComponent { +public class PacComponent implements Serializable { + private static final long serialVersionUID = 1L; + @Id @Column(name="packet_id", insertable=false, updatable=false, columnDefinition = "integer") private long pacId; diff --git a/hsarback/src/de/hsadmin/mods/pac/PacComponentId.java b/hsarback/src/de/hsadmin/mods/pac/PacComponentId.java index d52a56f..8a4f0a4 100644 --- a/hsarback/src/de/hsadmin/mods/pac/PacComponentId.java +++ b/hsarback/src/de/hsadmin/mods/pac/PacComponentId.java @@ -6,7 +6,7 @@ import java.io.Serializable; public class PacComponentId implements Serializable { - private static final long serialVersionUID = -3018368675798315892L; + private static final long serialVersionUID = 1L; private long pacId; private long basePacId; diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java index 4f8011a..deebbed 100644 --- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java @@ -42,7 +42,6 @@ public class PacProcessorFactory implements EntityProcessorFactory { public Processor createCreateProcessor( EntityManager em, T entity) throws ProcessorException { Pac pac = (Pac) entity; - String inetAddr = pac.getCurINetAddr().getInetAddr(); String pacName = pac.getName(); String customerEMail = pac.getCustomer().getContractualContact().getEmail(); UnixUser unixUser = null;