comparison 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
comparison
equal deleted inserted replaced
5482:9d11717538ec 5483:a5bb0a139f19
141 stmnt.clearParameters(); 141 stmnt.clearParameters();
142 return this; 142 return this;
143 } 143 }
144 144
145 public boolean execute() throws SQLException { 145 public boolean execute() throws SQLException {
146 if (log.isDebugEnabled()) {
147 log.debug("execute: " + compiled);
148 }
146 return stmnt.execute(); 149 return stmnt.execute();
147 } 150 }
148 151
149 public ResultSet executeQuery() throws SQLException { 152 public ResultSet executeQuery() throws SQLException {
153 if (log.isDebugEnabled()) {
154 log.debug("query: " + compiled);
155 }
150 return stmnt.executeQuery(); 156 return stmnt.executeQuery();
151 } 157 }
152 158
153 public int executeUpdate() throws SQLException { 159 public int executeUpdate() throws SQLException {
160 if (log.isDebugEnabled()) {
161 log.debug("update: " + compiled);
162 }
154 return stmnt.executeUpdate(); 163 return stmnt.executeUpdate();
155 } 164 }
156 165
157 } // class Instance 166 } // class Instance
158 167

http://dive4elements.wald.intevation.org