# HG changeset patch # User Raimund Renkert # Date 1371140844 -7200 # Node ID b1846985da6cf20921a71c50f6ec592fb73dfb3d # Parent 06720583ead7126218e5df2a245f40b219ee55af Made LProbeInfo a valid entity. diff -r 06720583ead7 -r b1846985da6c src/main/java/de/intevation/lada/model/LProbeInfo.java --- a/src/main/java/de/intevation/lada/model/LProbeInfo.java Thu Jun 13 18:26:36 2013 +0200 +++ b/src/main/java/de/intevation/lada/model/LProbeInfo.java Thu Jun 13 18:27:24 2013 +0200 @@ -9,10 +9,14 @@ * The persistent class for the l_probe_info database table. * */ +@Entity @Table(name="l_probe_info") public class LProbeInfo implements Serializable { private static final long serialVersionUID = 1L; + @EmbeddedId + private LProbeInfoId lprobeInfoId; + @Column(name="ba_id") private String baId; @@ -51,13 +55,13 @@ @Column(name="mst_id") private String mstId; - @Column(name="nebenproben_nr") + @Column(name="nebenproben_nr", insertable = false, updatable = false) private String nebenprobenNr; @Column(name="netzbetreiber_id") private String netzbetreiberId; - @Column(name="probe_id") + @Column(name="probe_id", insertable = false, updatable = false) private String probeId; @Column(name="probe_nehmer_id")