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