Mercurial > dive4elements > river
changeset 5089:4e03f3976d4b dami
Fix column decorator for sectie
Patch provided by Raimund Renkert <rrenkert@intevation.de>
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 25 Feb 2013 12:11:50 +0100 (2013-02-25) |
parents | 4f65d833680f |
children | 2878b816e945 |
files | flys-backend/src/main/java/de/intevation/flys/model/HydrBoundary.java flys-backend/src/main/java/de/intevation/flys/model/HydrBoundaryPoly.java |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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;