Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportSQRelation.java @ 3662:0d27d02b1208
backend: Completed the error messages of the importer.
flys-backend/trunk@5266 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 24 Aug 2012 15:47:31 +0000 |
parents | cc8fc6b29649 |
children | a5b003595d6c |
comparison
equal
deleted
inserted
replaced
3661:3ea5e835ecce | 3662:0d27d02b1208 |
---|---|
49 try { | 49 try { |
50 value.storeDependencies(peer); | 50 value.storeDependencies(peer); |
51 count++; | 51 count++; |
52 } | 52 } |
53 catch (SQLException sqle) { | 53 catch (SQLException sqle) { |
54 log.warn("Unable to store sq relation value.", sqle); | 54 log.warn("ISQ: Unable to store sq relation value.", sqle); |
55 } | 55 } |
56 catch (ConstraintViolationException cve) { | 56 catch (ConstraintViolationException cve) { |
57 log.warn("Unable to store sq relation value.", cve); | 57 log.warn("ISQ: Unable to store sq relation value.", cve); |
58 } | 58 } |
59 } | 59 } |
60 | 60 |
61 log.info("stored " + count + " sq relation values."); | 61 log.info("stored " + count + " sq relation values."); |
62 } | 62 } |
67 | 67 |
68 if (peer == null) { | 68 if (peer == null) { |
69 TimeInterval timeInter = timeInterval.getPeer(); | 69 TimeInterval timeInter = timeInterval.getPeer(); |
70 | 70 |
71 if (timeInter == null) { | 71 if (timeInter == null) { |
72 log.warn("Cannot determine sq relation without time interval"); | 72 log.warn("ISQ: Cannot determine sq relation without time interval"); |
73 return null; | 73 return null; |
74 } | 74 } |
75 | 75 |
76 Session session = ImporterSession.getInstance().getDatabaseSession(); | 76 Session session = ImporterSession.getInstance().getDatabaseSession(); |
77 | 77 |