Log, at debug time, the executing sql statements
authorRafa Alonso <rafael.alonso@openbravo.com>
Fri, 20 Feb 2015 00:37:00 +0100
changeset 4040 476601b5002c
parent 4039 9442eaf65f61
child 4041 c3edcbd8220e
Log, at debug time, the executing sql statements
src-test/org/openbravo/test/mobile/common/selenium/database/DatabaseHelperSelect.java
--- a/src-test/org/openbravo/test/mobile/common/selenium/database/DatabaseHelperSelect.java	Thu Feb 19 17:28:23 2015 +0100
+++ b/src-test/org/openbravo/test/mobile/common/selenium/database/DatabaseHelperSelect.java	Fri Feb 20 00:37:00 2015 +0100
@@ -50,6 +50,7 @@
     try {
       connection = ConnectionHelper.getConnection();
       final Connection connectionTmp = connection;
+      TestLogger.getLogger().debug(String.format("Executing database query: \"%s\"", sql));
 
       new Wait() {