Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/datacage/templating/Builder.java @ 4526:1f38fa929986
Cosmetics.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 15 Nov 2012 07:38:43 +0100 |
parents | daf0919df76d |
children | 3a077fc360c2 |
comparison
equal
deleted
inserted
replaced
4525:f8ed8114f415 | 4526:1f38fa929986 |
---|---|
27 | 27 |
28 import de.intevation.flys.utils.Pair; | 28 import de.intevation.flys.utils.Pair; |
29 | 29 |
30 import org.apache.log4j.Logger; | 30 import org.apache.log4j.Logger; |
31 | 31 |
32 | |
32 public class Builder | 33 public class Builder |
33 { | 34 { |
34 private static Logger log = Logger.getLogger(Builder.class); | 35 private static Logger log = Logger.getLogger(Builder.class); |
35 | 36 |
36 public static final String CONNECTION_USER = "user"; | 37 public static final String CONNECTION_USER = "user"; |
51 | 52 |
52 protected Document template; | 53 protected Document template; |
53 | 54 |
54 protected Map<String, CompiledStatement> compiledStatements; | 55 protected Map<String, CompiledStatement> compiledStatements; |
55 | 56 |
57 /** Connection to either of the databases. */ | |
56 public static class NamedConnection { | 58 public static class NamedConnection { |
57 | 59 |
58 protected String name; | 60 protected String name; |
59 protected Connection connection; | 61 protected Connection connection; |
60 protected boolean cached; | 62 protected boolean cached; |