Mercurial > dive4elements > river
diff flys-aft/src/main/java/de/intevation/db/SymbolicStatement.java @ 5483:a5bb0a139f19
merge
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Wed, 27 Mar 2013 20:21:27 +0100 |
parents | 7a68967ca72a |
children |
line wrap: on
line diff
--- a/flys-aft/src/main/java/de/intevation/db/SymbolicStatement.java Wed Mar 27 20:21:01 2013 +0100 +++ b/flys-aft/src/main/java/de/intevation/db/SymbolicStatement.java Wed Mar 27 20:21:27 2013 +0100 @@ -143,14 +143,23 @@ } public boolean execute() throws SQLException { + if (log.isDebugEnabled()) { + log.debug("execute: " + compiled); + } return stmnt.execute(); } public ResultSet executeQuery() throws SQLException { + if (log.isDebugEnabled()) { + log.debug("query: " + compiled); + } return stmnt.executeQuery(); } public int executeUpdate() throws SQLException { + if (log.isDebugEnabled()) { + log.debug("update: " + compiled); + } return stmnt.executeUpdate(); }