Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/MorphologicWidthFactory.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | 5e38e2924c07 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
11 import java.util.List; | 11 import java.util.List; |
12 | 12 |
13 import net.sf.ehcache.Cache; | 13 import net.sf.ehcache.Cache; |
14 import net.sf.ehcache.Element; | 14 import net.sf.ehcache.Element; |
15 | 15 |
16 import org.apache.log4j.Logger; | 16 import org.apache.logging.log4j.Logger; |
17 import org.apache.logging.log4j.LogManager; | |
17 import org.hibernate.SQLQuery; | 18 import org.hibernate.SQLQuery; |
18 import org.hibernate.Session; | 19 import org.hibernate.Session; |
19 import org.hibernate.type.StandardBasicTypes; | 20 import org.hibernate.type.StandardBasicTypes; |
20 | 21 |
21 import org.dive4elements.river.artifacts.cache.CacheFactory; | 22 import org.dive4elements.river.artifacts.cache.CacheFactory; |
24 | 25 |
25 | 26 |
26 public class MorphologicWidthFactory | 27 public class MorphologicWidthFactory |
27 { | 28 { |
28 /** Private log to use here. */ | 29 /** Private log to use here. */ |
29 private static Logger log = Logger.getLogger( | 30 private static Logger log = LogManager.getLogger( |
30 MorphologicWidthFactory.class); | 31 MorphologicWidthFactory.class); |
31 | 32 |
32 public static final String SQL_SELECT = | 33 public static final String SQL_SELECT = |
33 "SELECT mwv.station AS station, mwv.width AS width " + | 34 "SELECT mwv.station AS station, mwv.width AS width " + |
34 " FROM morphologic_width mw" + | 35 " FROM morphologic_width mw" + |