Mercurial > lada > lada-server
changeset 1222:f8df0eae09e4
In memoriam Oracle.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 09 Dec 2016 14:47:13 +0100 |
parents | 59b0e54426d4 |
children | 9b8b18c00804 |
files | db_schema/stammdaten_schema.sql src/main/java/de/intevation/lada/model/stammdaten/Staat.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/db_schema/stammdaten_schema.sql Fri Dec 09 14:40:42 2016 +0100 +++ b/db_schema/stammdaten_schema.sql Fri Dec 09 14:47:13 2016 +0100 @@ -143,7 +143,7 @@ hkl_id smallint NOT NULL, staat_iso character varying(2), staat_kurz character varying(5), - eu character(1) DEFAULT NULL::bpchar, + eu boolean, koord_x_extern character varying(22), koord_y_extern character varying(22), kda_id integer REFERENCES koordinaten_art
--- a/src/main/java/de/intevation/lada/model/stammdaten/Staat.java Fri Dec 09 14:40:42 2016 +0100 +++ b/src/main/java/de/intevation/lada/model/stammdaten/Staat.java Fri Dec 09 14:47:13 2016 +0100 @@ -18,7 +18,7 @@ @Id private Integer id; - private String eu; + private Boolean eu; @Column(name="hkl_id") private Integer hklId; @@ -51,11 +51,11 @@ this.id = id; } - public String getEu() { + public Boolean getEu() { return this.eu; } - public void setEu(String eu) { + public void setEu(Boolean eu) { this.eu = eu; }