c = getConnection(); return getSerialWithConnection(c); } finally { releaseConnection(c);
Connection c = null; try { c = getConnection(); return getSerialWithConnection(c); } finally { releaseConnection(c); } } catch (SQLException e) { throw new ObjectStoreException("Error generating serial number", e);
    public Integer getSerial() throws SQLException {        Connection c = null;        try {            c = getConnection();            return getSerialWithConnection(c);        } finally {            releaseConnection(c);        }    }