[Lada-commits] [PATCH] Let the database control the tree_modified column for StatusProtokoll

Wald Commits scm-commit at wald.intevation.org
Tue Nov 1 15:18:33 CET 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1478009910 -3600
# Node ID cf65bdff7843a2ae1c6799a438413b0a0473f555
# Parent  39a12fa9421d1f208e5e46b90e76f0b8f30899b6
Let the database control the tree_modified column for StatusProtokoll

diff -r 39a12fa9421d -r cf65bdff7843 src/main/java/de/intevation/lada/model/land/StatusProtokoll.java
--- 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


More information about the Lada-commits mailing list