comparison flys-backend/src/main/java/de/intevation/flys/App.java @ 199:ed38839a6b08

Ported over some WST parsing stuff from desktop flys flys-backend/trunk@1538 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 22 Mar 2011 15:48:09 +0000
parents bc3747a371cc
children d37ccb04ab5d
comparison
equal deleted inserted replaced
198:d980e545ccab 199:ed38839a6b08
1 package de.intevation.flys; 1 package de.intevation.flys;
2 2
3 import org.hibernate.cfg.Configuration; 3 import org.hibernate.cfg.Configuration;
4
5 import org.hibernate.SessionFactory;
6 4
7 import de.intevation.flys.model.Annotation; 5 import de.intevation.flys.model.Annotation;
8 import de.intevation.flys.model.Attribute; 6 import de.intevation.flys.model.Attribute;
9 import de.intevation.flys.model.DischargeTable; 7 import de.intevation.flys.model.DischargeTable;
10 import de.intevation.flys.model.DischargeTableValue; 8 import de.intevation.flys.model.DischargeTableValue;
25 import org.hibernate.dialect.resolver.DialectFactory; 23 import org.hibernate.dialect.resolver.DialectFactory;
26 24
27 import java.util.Properties; 25 import java.util.Properties;
28 26
29 import org.hibernate.cfg.Environment; 27 import org.hibernate.cfg.Environment;
30
31 import org.hibernate.Session;
32 28
33 public class App 29 public class App
34 { 30 {
35 private static final String USER = 31 private static final String USER =
36 System.getProperty("flys.user", "flys"); 32 System.getProperty("flys.user", "flys");

http://dive4elements.wald.intevation.org