[Lada-commits] [PATCH] Add missing column

Wald Commits scm-commit at wald.intevation.org
Fri Nov 18 13:23:14 CET 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1479471765 -3600
# Node ID 0fdf95eaf4f94cad7c0ff3b48d452393f8df8f5f
# Parent  87b55cdb1cadc13a24efcc21ad462418e1ebee2c
Add missing column.

Deserialization of objects passed from the client failed before.

diff -r 87b55cdb1cad -r 0fdf95eaf4f9 src/main/java/de/intevation/lada/model/stammdaten/Ort.java
--- a/src/main/java/de/intevation/lada/model/stammdaten/Ort.java	Fri Nov 18 10:06:33 2016 +0100
+++ b/src/main/java/de/intevation/lada/model/stammdaten/Ort.java	Fri Nov 18 13:22:45 2016 +0100
@@ -38,6 +38,9 @@
     @Column(name="hoehe_ueber_nn")
     private Float hoeheUeberNn;
 
+    @Column(name="hoehe_land")
+    private Float hoeheLand;
+
     @Column(name="koord_x_extern")
     private String koordXExtern;
 
@@ -141,6 +144,14 @@
         this.hoeheUeberNn = hoeheUeberNn;
     }
 
+    public Float getHoeheLand() {
+        return this.hoeheLand;
+    }
+
+    public void setHoeheLand(Float hoeheLand) {
+        this.hoeheLand = hoeheLand;
+    }
+
     public String getKoordXExtern() {
         return this.koordXExtern;
     }


More information about the Lada-commits mailing list