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