diff src/main/java/de/intevation/lada/model/land/Messung.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/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
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)