[Lada-commits] [PATCH 2 of 5] Updated hibernate model

Wald Commits scm-commit at wald.intevation.org
Mon Nov 7 10:10:11 CET 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1478509598 -3600
# Node ID ee22d0cfbd81885a3bbe7785b38f158e24bb16c8
# Parent  b49c1fb84040f3c63bcd9d020359a5b4e627271c
Updated hibernate model.

diff -r b49c1fb84040 -r ee22d0cfbd81 src/main/java/de/intevation/lada/model/stammdaten/Ort.java
--- a/src/main/java/de/intevation/lada/model/stammdaten/Ort.java	Mon Nov 07 10:04:57 2016 +0100
+++ b/src/main/java/de/intevation/lada/model/stammdaten/Ort.java	Mon Nov 07 10:06:38 2016 +0100
@@ -71,7 +71,7 @@
     private Integer ortTyp;
 
     @Column(name="oz_id")
-    private Integer ozId;
+    private String ozId;
 
     private String sektor;
 
@@ -237,11 +237,11 @@
         this.ortTyp = ortTyp;
     }
 
-    public Integer getOzId() {
+    public String getOzId() {
         return this.ozId;
     }
 
-    public void setOzId(Integer ozId) {
+    public void setOzId(String ozId) {
         this.ozId = ozId;
     }
 


More information about the Lada-commits mailing list