Mercurial > lada > lada-server
changeset 1135:f84b4fb82061
Let the database control the tree_modified column (disable insert and update)
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Tue, 01 Nov 2016 15:01:03 +0100 |
parents | 48c0132dbc85 |
children | 39a12fa9421d |
files | src/main/java/de/intevation/lada/model/land/Messung.java src/main/java/de/intevation/lada/model/land/Messwert.java src/main/java/de/intevation/lada/model/land/Ortszuordnung.java src/main/java/de/intevation/lada/model/land/Probe.java src/main/java/de/intevation/lada/model/land/ZusatzWert.java |
diffstat | 5 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/land/Messung.java Tue Nov 01 12:47:25 2016 +0100 +++ b/src/main/java/de/intevation/lada/model/land/Messung.java Tue Nov 01 15:01:03 2016 +0100 @@ -60,7 +60,7 @@ private Integer status; - @Column(name="tree_modified") + @Column(name="tree_modified", insertable=false, updatable=false) private Timestamp treeModified; @Transient
--- a/src/main/java/de/intevation/lada/model/land/Messwert.java Tue Nov 01 12:47:25 2016 +0100 +++ b/src/main/java/de/intevation/lada/model/land/Messwert.java Tue Nov 01 15:01:03 2016 +0100 @@ -49,7 +49,7 @@ @Column(name="nwg_zu_messwert") private Double nwgZuMesswert; - @Column(name="tree_modified") + @Column(name="tree_modified", insertable=false, updatable=false) private Timestamp treeModified; @OneToOne
--- a/src/main/java/de/intevation/lada/model/land/Ortszuordnung.java Tue Nov 01 12:47:25 2016 +0100 +++ b/src/main/java/de/intevation/lada/model/land/Ortszuordnung.java Tue Nov 01 15:01:03 2016 +0100 @@ -39,7 +39,7 @@ @Column(name="probe_id") private Integer probeId; - @Column(name="tree_modified") + @Column(name="tree_modified", insertable=false, updatable=false) private Timestamp treeModified; @OneToOne
--- a/src/main/java/de/intevation/lada/model/land/Probe.java Tue Nov 01 12:47:25 2016 +0100 +++ b/src/main/java/de/intevation/lada/model/land/Probe.java Tue Nov 01 15:01:03 2016 +0100 @@ -83,7 +83,7 @@ private Boolean test; - @Column(name="tree_modified") + @Column(name="tree_modified", insertable=false, updatable=false) private Timestamp treeModified; @Column(name="umw_id")
--- a/src/main/java/de/intevation/lada/model/land/ZusatzWert.java Tue Nov 01 12:47:25 2016 +0100 +++ b/src/main/java/de/intevation/lada/model/land/ZusatzWert.java Tue Nov 01 15:01:03 2016 +0100 @@ -44,7 +44,7 @@ @Column(name="pzs_id") private String pzsId; - @Column(name="tree_modified") + @Column(name="tree_modified", insertable=false, updatable=false) private Timestamp treeModified; @OneToOne