Mercurial > lada > lada-server
changeset 138:b1846985da6c
Made LProbeInfo a valid entity.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 13 Jun 2013 18:27:24 +0200 |
parents | 06720583ead7 |
children | fda177c59d1f |
files | src/main/java/de/intevation/lada/model/LProbeInfo.java |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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")