272273274275276277278279280281282
res = deleteObjects(cw, clazz, where); cw.commitAndDiscard(); } catch (Exception e) { cw.rollbackAndDiscard(); throw new SQLException(e); } return res; }
697698699700701702703704705706707
cw.commitAndDiscard(); } catch (Exception e) { // cancel the operation cw.rollbackAndDiscard(); // re-throw the original exception throw new SQLException(e); } }
822823824825826827828829830831832
res = getObjects(cw, clazz, clause); cw.commitAndDiscard(); } catch (Exception e) { cw.rollbackAndDiscard(); throw new SQLException(e); } return res; }
13811382138313841385138613871388138913901391
ps.close(); cw.commitAndDiscard(); } catch (Exception e) { cw.rollbackAndDiscard(); throw new SQLException(e); } return res; }
15371538153915401541154215431544154515461547
LOGGER.log(Level.WARNING, "Exception: ", e); try { if (cw != null) { cw.rollbackAndDiscard(); } } catch (SQLException e1) { LOGGER.log(Level.WARNING, "SQLException: ", e1);
631632633634635636637638639640641
throw iae; } catch (Exception e) { // cancel the operation cw.rollbackAndDiscard(); // re-throw the original exception throw new SQLException(e); } return res; }
695696697698699700701702703704705
845846847848849850851852853854855
871872873874875876877878879880881
896897898899900901902903904905906