Revision 58341
Added by Argiro Kokogiannaki about 4 years ago
SqlStore.java | ||
---|---|---|
130 | 130 |
*/ |
131 | 131 |
public ResultSet executeStoredProcedure(String command, ArrayList<String> values) throws SQLException { |
132 | 132 |
java.sql.CallableStatement callableStatement = null; |
133 |
log.debug(" Executing Query ..." + command); |
|
133 |
log.debug(" Executing Query ..." + command.substring(0,(command.length()>150?150:command.length())));
|
|
134 | 134 |
|
135 | 135 |
callableStatement = this.connection.prepareCall(command); |
136 | 136 |
int pos = 1; |
... | ... | |
157 | 157 |
* @throws SQLException |
158 | 158 |
*/ |
159 | 159 |
public ResultSet executeStoredProcedure(String command) throws SQLException { |
160 |
log.debug(" Executing Query ..." + command); |
|
160 |
log.debug(" Executing Query ..." + command.substring(0,(command.length()>150?150:command.length())));
|
|
161 | 161 |
java.sql.CallableStatement callableStatement = null; |
162 | 162 |
|
163 | 163 |
callableStatement = this.connection.prepareCall(command); |
... | ... | |
177 | 177 |
* @throws SQLException |
178 | 178 |
*/ |
179 | 179 |
public ResultSet executeQuery(String command) throws SQLException, SQLStoreException { |
180 |
log.debug(" Executing Query ... " + command);
|
|
180 |
log.debug(" Executing Query: " + command.substring(0,(command.length()>150?150:command.length()))+"....");
|
|
181 | 181 |
|
182 | 182 |
Statement st = null; |
183 | 183 |
ResultSet rs = null; |
... | ... | |
219 | 219 |
* @throws SQLException |
220 | 220 |
*/ |
221 | 221 |
public CachedRowSet executeQuery(String command, ArrayList<Object> values) throws SQLException, SQLStoreException { |
222 |
log.debug(" Executing Query ...\n" + command +"\n"+values); |
|
222 |
log.debug(" Executing Query ...\n" + command.substring(0,(command.length()>150?150:command.length())) +"\n"+values);
|
|
223 | 223 |
|
224 | 224 |
PreparedStatement st = null; |
225 | 225 |
ResultSet rs = null; |
... | ... | |
311 | 311 |
* @throws SQLException |
312 | 312 |
*/ |
313 | 313 |
public void executeUpdate(String command) throws SQLException { |
314 |
log.debug(" Executing Query ..." + command); |
|
314 |
log.debug(" Executing Query ..." + command.substring(0,(command.length()>150?150:command.length())));
|
|
315 | 315 |
|
316 | 316 |
Statement st = null; |
317 | 317 |
|
... | ... | |
350 | 350 |
* @values as parameters |
351 | 351 |
*/ |
352 | 352 |
public boolean executeUpdate(String command, ArrayList<Object> values) throws SQLException { |
353 |
log.debug(" Executing Query ..." + command); |
|
353 |
log.debug(" Executing Query ..." + command.substring(0,(command.length()>(command.length()>150?150:command.length())?150:command.length())));
|
|
354 | 354 |
|
355 | 355 |
PreparedStatement st = null; |
356 | 356 |
|
Also available in: Unified diff
ClaimEntity: Add information about the dashboard where the claim was created
Properties:
add properties for the different services
create beans properly
production or beta is decided from the services urls in properties
Migration:
create migration method: CopyFromBetaToProduction for communities