[Dive4elements-commits] [PATCH 1 of 6] Fix column decorator for sectie
Wald Commits
scm-commit at wald.intevation.org
Mon Feb 25 12:46:33 CET 2013
# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1361790710 -3600
# Branch dami
# Node ID 4e03f3976d4b94dc804aae1389250231dd688197
# Parent 4f65d833680f7d106943c2dbddebb098154cb7bb
Fix column decorator for sectie
Patch provided by Raimund Renkert <rrenkert at intevation.de>
diff -r 4f65d833680f -r 4e03f3976d4b flys-backend/src/main/java/de/intevation/flys/model/HydrBoundary.java
--- a/flys-backend/src/main/java/de/intevation/flys/model/HydrBoundary.java Mon Feb 25 11:50:13 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/HydrBoundary.java Mon Feb 25 12:11:50 2013 +0100
@@ -99,7 +99,7 @@
* @return sectie as SectieKind.
*/
@OneToOne
- @Column(name = "sectie")
+ @JoinColumn(name = "sectie")
public SectieKind getSectie()
{
return sectie;
diff -r 4f65d833680f -r 4e03f3976d4b flys-backend/src/main/java/de/intevation/flys/model/HydrBoundaryPoly.java
--- a/flys-backend/src/main/java/de/intevation/flys/model/HydrBoundaryPoly.java Mon Feb 25 11:50:13 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/model/HydrBoundaryPoly.java Mon Feb 25 12:11:50 2013 +0100
@@ -100,7 +100,7 @@
* @return sectie as SectieKind.
*/
@OneToOne
- @Column(name = "sectie")
+ @JoinColumn(name = "sectie")
public SectieKind getSectie()
{
return sectie;
More information about the Dive4elements-commits
mailing list