/** * Creates a temporary bag table for the given BagConstraint. * * @param bagConstraint a BagConstraint * @throws ObjectStoreException if an error occurs */ public void createTempBagTable(ConstraintWithBag bagConstraint) throws ObjectStoreException { Connection c = null; try { c = getConnection(); createTempBagTable(c, bagConstraint, false, null); } catch (SQLException e) { throw new ObjectStoreException("Could not get connection to database", e); } finally { releaseConnection(c); } }
/** * Creates a temporary bag table for the given BagConstraint. * * @param bagConstraint a BagConstraint * @throws ObjectStoreException if an error occurs */ public void createTempBagTable(ConstraintWithBag bagConstraint) throws ObjectStoreException { Connection c = null; try { c = getConnection(); createTempBagTable(c, bagConstraint, false, null); } catch (SQLException e) { throw new ObjectStoreException("Could not get connection to database", e); } finally { releaseConnection(c); } }
queryString = q.getIqlQuery().getQueryString(); createTempBagTable(c, bagConstraint, true, queryString); queryString = q.getIqlQuery().getQueryString(); createTempBagTable(c, qcb, true, queryString);
queryString = q.getIqlQuery().getQueryString(); createTempBagTable(c, bagConstraint, true, queryString); queryString = q.getIqlQuery().getQueryString(); createTempBagTable(c, qcb, true, queryString);
ObjectStoreInterMineImpl.BagTableToRemove bttr = null; if (idsToFetch.size() >= os.getMinBagTableSize()) { bttr = os.createTempBagTable(c, bc, false, null);
ObjectStoreInterMineImpl.BagTableToRemove bttr = null; if (idsToFetch.size() >= os.getMinBagTableSize()) { bttr = os.createTempBagTable(c, bc, false, null);