changeset 9462:e28303971812

another log
author gernotbelger
date Wed, 29 Aug 2018 17:58:02 +0200
parents da7b5f07303d
children 80800fe126cd
files backend/src/main/java/org/dive4elements/river/model/CrossSection.java
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/model/CrossSection.java	Wed Aug 29 17:27:09 2018 +0200
+++ b/backend/src/main/java/org/dive4elements/river/model/CrossSection.java	Wed Aug 29 17:58:02 2018 +0200
@@ -239,8 +239,13 @@
             .setDouble("km", km);
 
         List<Integer> results = sqlQuery.list();
-
+        final StringBuilder builder = new StringBuilder();
+      
+        
         if (results.size() >= 1) {
+            final String resultIds = results.toString();
+            builder.append("CrossSection line 243 ID = ").append(getId()).append(", Result SIZE = ").append(results.size()).append(  ", Result_Ids = ").append(resultIds);
+            log.debug(builder.toString());
             Integer result = results.get(0);
             if (result == getId()) {
                 return true;

http://dive4elements.wald.intevation.org