6162636465666768697071
transaction.begin(); session.delete(mapping); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException( "This mapping is associated with reports. Please delete them first.", e); } return id; }
121122123124125126127128129130131
transaction.begin(); session.delete(oldColumnAlias); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } } }
196197198199200201202203204205206
transaction.begin(); session.delete(oldRowAlias); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } } }
238239240241242243244245246
transaction.begin(); session.saveOrUpdate(mapping); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } return mapping.getId(); }
434445464748495051
transaction.begin(); session.saveOrUpdate(detail); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } return detail.getId(); }
575859606162636465
transaction.begin(); session.delete(detail); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } return id; }
444546474849505152
transaction.begin(); session.saveOrUpdate(columnFilter); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } return columnFilter.getId(); }
585960616263646566
transaction.begin(); session.delete(columnFilter); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } return id; }
transaction.begin(); session.saveOrUpdate(report); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } return report.getId(); }
session.delete(report); transaction.commit(); } catch (JDBCException e) { transaction.rollback(); throw new CruxException(e.getSQLException().getMessage(), e); } return id; }