Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/importer/ImportSQRelation.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 |
---|---|
10 | 10 |
11 import java.sql.SQLException; | 11 import java.sql.SQLException; |
12 import java.util.ArrayList; | 12 import java.util.ArrayList; |
13 import java.util.List; | 13 import java.util.List; |
14 | 14 |
15 import org.apache.log4j.Logger; | 15 import org.apache.logging.log4j.Logger; |
16 import org.apache.logging.log4j.LogManager; | |
16 | 17 |
17 import org.hibernate.Query; | 18 import org.hibernate.Query; |
18 import org.hibernate.Session; | 19 import org.hibernate.Session; |
19 import org.hibernate.exception.ConstraintViolationException; | 20 import org.hibernate.exception.ConstraintViolationException; |
20 | 21 |
22 import org.dive4elements.river.model.TimeInterval; | 23 import org.dive4elements.river.model.TimeInterval; |
23 | 24 |
24 | 25 |
25 public class ImportSQRelation { | 26 public class ImportSQRelation { |
26 | 27 |
27 private static Logger log = Logger.getLogger(ImportSQRelation.class); | 28 private static Logger log = LogManager.getLogger(ImportSQRelation.class); |
28 | 29 |
29 private ImportTimeInterval timeInterval; | 30 private ImportTimeInterval timeInterval; |
30 | 31 |
31 private String description; | 32 private String description; |
32 | 33 |