/** * {@inheritDoc} */ @Override public void batchCommitTransaction() throws ObjectStoreException { Connection c = null; try { c = getConnection(); batchCommitTransactionWithConnection(c); } catch (SQLException e) { throw new ObjectStoreException("Could not get connection to database", e); } finally { releaseConnection(c); } }
/** * {@inheritDoc} */ @Override public void batchCommitTransaction() throws ObjectStoreException { Connection c = null; try { c = getConnection(); batchCommitTransactionWithConnection(c); } catch (SQLException e) { throw new ObjectStoreException("Could not get connection to database", e); } finally { releaseConnection(c); } }