changeset 1137:cf65bdff7843

Let the database control the tree_modified column for StatusProtokoll
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 01 Nov 2016 15:18:30 +0100
parents 39a12fa9421d
children 5f7685bb8214
files src/main/java/de/intevation/lada/model/land/StatusProtokoll.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/land/StatusProtokoll.java	Tue Nov 01 15:01:53 2016 +0100
+++ b/src/main/java/de/intevation/lada/model/land/StatusProtokoll.java	Tue Nov 01 15:18:30 2016 +0100
@@ -38,7 +38,7 @@
 
     private String text;
 
-    @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)