comparison flys-aft/src/main/java/de/intevation/db/SymbolicStatement.java @ 5480:7a68967ca72a

AFT/DIPS: Small fixes and workarounds for Oracle DB problems.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 27 Mar 2013 20:19:09 +0100
parents f939e1e6cfa4
children
comparison
equal deleted inserted replaced
5479:11fba4dabe05 5480:7a68967ca72a
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