session.merge(entity);
tx.commit();
<BUG>}</BUG>
} catch (Exception e) {
<BUG>DaoUtils.rollbackTransaction(tx);
</BUG>
throw new ConfigurationStoreException(e);
} finally {
DaoUtils.closeSession(session);
}

session.merge(entity);
tx.commit();
} catch (Exception e) {
DaoUtils.rollbackTransaction(tx, e);
throw new ConfigurationStoreException(e);
} finally {
DaoUtils.closeSession(session);
