/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by TopLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void resetDistinct() { setDistinctState(UNCOMPUTED_DISTINCT); }
/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by TopLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void resetDistinct() { setDistinctState(UNCOMPUTED_DISTINCT); }
/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by EclipseLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void useDistinct() { setDistinctState(USE_DISTINCT); }
/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by EclipseLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void useDistinct() { setDistinctState(USE_DISTINCT); }
/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by EclipseLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void useDistinct() { setDistinctState(USE_DISTINCT); //Bug2804042 Must un-prepare if prepared as the SQL may change. setIsPrepared(false); }
/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by EclipseLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void dontUseDistinct() { setDistinctState(DONT_USE_DISTINCT); //Bug2804042 Must un-prepare if prepared as the SQL may change. setIsPrepared(false); }
/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by TopLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void resetDistinct() { setDistinctState(UNCOMPUTED_DISTINCT); //Bug2804042 Must un-prepare if prepared as the SQL may change. setIsPrepared(false); }
/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by EclipseLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void dontUseDistinct() { setDistinctState(DONT_USE_DISTINCT); //Bug2804042 Must un-prepare if prepared as the SQL may change. setIsPrepared(false); }
/** * ADVANCED: * If a distinct has been set the DISTINCT clause will be printed. * This is used internally by EclipseLink for batch reading but may also be * used directly for advanced queries or report queries. */ public void dontUseDistinct() { setDistinctState(DONT_USE_DISTINCT); //Bug2804042 Must un-prepare if prepared as the SQL may change. setIsPrepared(false); }
query.setDistinctState(ObjectLevelReadQuery.USE_DISTINCT); } else { query.setDistinctState(ObjectLevelReadQuery.DONT_USE_DISTINCT); if (query.hasJoining()) { query.setShouldFilterDuplicates(false);
readQuery.setDistinctState(ObjectLevelReadQuery.USE_DISTINCT);
readQuery.setDistinctState(ObjectLevelReadQuery.USE_DISTINCT);
readQuery.setDistinctState(ObjectLevelReadQuery.USE_DISTINCT);