Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/HYKFactory.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 | e4606eae8ea5 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
19 import java.util.List; | 19 import java.util.List; |
20 | 20 |
21 import net.sf.ehcache.Cache; | 21 import net.sf.ehcache.Cache; |
22 import net.sf.ehcache.Element; | 22 import net.sf.ehcache.Element; |
23 | 23 |
24 import org.apache.log4j.Logger; | 24 import org.apache.logging.log4j.Logger; |
25 import org.apache.logging.log4j.LogManager; | |
25 import org.hibernate.Query; | 26 import org.hibernate.Query; |
26 import org.hibernate.SQLQuery; | 27 import org.hibernate.SQLQuery; |
27 import org.hibernate.Session; | 28 import org.hibernate.Session; |
28 import org.hibernate.type.StandardBasicTypes; | 29 import org.hibernate.type.StandardBasicTypes; |
29 | 30 |
31 /** | 32 /** |
32 * Factory to access HYKs (hydrographic values). | 33 * Factory to access HYKs (hydrographic values). |
33 */ | 34 */ |
34 public class HYKFactory | 35 public class HYKFactory |
35 { | 36 { |
36 private static Logger log = Logger.getLogger(HYKFactory.class); | 37 private static Logger log = LogManager.getLogger(HYKFactory.class); |
37 | 38 |
38 public static String HYK_CACHE_NAME = "hykache"; | 39 public static String HYK_CACHE_NAME = "hykache"; |
39 | 40 |
40 | 41 |
41 /** Do not instantiate a HYKFactory. */ | 42 /** Do not instantiate a HYKFactory. */ |