diff src/main/java/de/intevation/lada/model/land/Messwert.java @ 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 186d602e031a
children 1bf808b67403
line wrap: on
line diff
--- 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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)