Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/map/HWSFactory.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 import org.hibernatespatial.GeometryUserType; | 21 import org.hibernatespatial.GeometryUserType; |
21 | 22 |
26 | 27 |
27 | 28 |
28 public class HWSFactory | 29 public class HWSFactory |
29 { | 30 { |
30 /** Private log to use here. */ | 31 /** Private log to use here. */ |
31 private static Logger log = Logger.getLogger(HWSFactory.class); | 32 private static Logger log = LogManager.getLogger(HWSFactory.class); |
32 | 33 |
33 private static final int HWS_LINES = 0; | 34 private static final int HWS_LINES = 0; |
34 private static final int HWS_POINTS = 1; | 35 private static final int HWS_POINTS = 1; |
35 | 36 |
36 public static final String SQL_SELECT_LINES = | 37 public static final String SQL_SELECT_LINES = |