358359360361362363364365366
} } rs.close(); stmt.close(); } catch (Exception ex) { throw new SandeshaStorageException(ex); } return result; }
838485868788899091
try { Statement stmt = getDbConnection().createStatement(); stmt.executeUpdate("delete from wsrm_invoker where message_context_ref_key='" + key + "'"); stmt.close(); } catch (Exception ex) { throw new SandeshaStorageException(ex); } return true; }
101102103104105106107108109
lst.add(getInvokerBean(rs)); } rs.close(); stmt.close(); } catch (Exception ex) { throw new SandeshaStorageException(ex); } return lst; }
121122123124125126127128129
ByteArrayInputStream bais = serialize(bean.getContext()); pstmt.setBinaryStream(3, bais, bais.available()); pstmt.execute(); pstmt.close(); } catch (Exception ex) { throw new SandeshaStorageException(ex); } return true; }
137138139140141142143144145
if (! rs.next()) return invokerBean; invokerBean = getInvokerBean(rs); rs.close(); stmt.close(); } catch (Exception ex) { throw new SandeshaStorageException(ex); } return invokerBean; }
156157158159160161162163164
ByteArrayInputStream bais = serialize(bean.getContext()); pstmt.setBinaryStream(2, bais, bais.available()); pstmt.execute(); pstmt.close(); } catch (Exception ex) { throw new SandeshaStorageException(ex); } return true; }
183184185186187188189190191
247248249250251252253254255
try { Statement stmt = getDbConnection().createStatement(); stmt.executeUpdate("delete from wsrm_rmd where sequence_id='" + sequenceID + "'"); stmt.close(); } catch (Exception ex) { throw new SandeshaStorageException(ex); } return true; }
265266267268269270271272273274
lst.add(getBean(rs)); } rs.close(); stmt.close(); } catch (Exception ex) { throw new SandeshaStorageException(ex); } if (log.isDebugEnabled()) log.debug("Exit find lst.size(): " + lst.size()); return lst; }
322323324325326327328329330
pstmt.setInt(25, bean.getRmdFlags()); pstmt.execute(); pstmt.close(); } catch (Exception ex) { log.debug("Insert Exception ", ex); throw new SandeshaStorageException(ex); } return true; }