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