annotate src/main/java/de/intevation/lada/util/data/LadaPostgisDialect.java @ 685:3118fbbe6292

Fixed or supressed warnings.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 29 May 2015 13:10:30 +0200
parents e6564d5fdc7a
children 3ec358698b4d
rev   line source
673
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
1 package de.intevation.lada.util.data;
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
2
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
3 import java.sql.Types;
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
4
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
5 import org.hibernate.spatial.dialect.postgis.PostgisDialect;
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
6
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
7 public class LadaPostgisDialect extends PostgisDialect {
685
3118fbbe6292 Fixed or supressed warnings.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 673
diff changeset
8 private static final long serialVersionUID = 1L;
3118fbbe6292 Fixed or supressed warnings.
Raimund Renkert <raimund.renkert@intevation.de>
parents: 673
diff changeset
9
673
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
10 public LadaPostgisDialect() {
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
11 super();
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
12 this.registerColumnType(Types.ARRAY, "integer[]");
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
13 }
e6564d5fdc7a Use Postgis dialect to talk to the database.
Raimund Renkert <raimund.renkert@intevation.de>
parents:
diff changeset
14 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)