@Override public boolean supportsLimit() { return dialect.supportsLimit(); }
public boolean isMatch(Dialect dialect) { return dialect.supportsLimit() && dialect.supportsLimitOffset(); } }
public boolean isMatch(Dialect dialect) { return dialect.supportsLimit(); } }
/** * Does this dialect support bind variables (i.e., prepared statement * parameters) for its limit/offset? * * @return True if bind variables can be used; false otherwise. * @deprecated {@link #getLimitHandler()} should be overridden instead. */ @Deprecated public boolean supportsVariableLimit() { return supportsLimit(); }
/** * Does this dialect's LIMIT support (if any) additionally * support specifying an offset? * * @return True if the dialect supports an offset within the limit support. * @deprecated {@link #getLimitHandler()} should be overridden instead. */ @Deprecated public boolean supportsLimitOffset() { return supportsLimit(); }
/** * Does this dialect support an offset? */ public boolean supportsLimitOffset() { return supportsLimit(); }
/** * Does this dialect support bind variables (i.e., prepared statement * parameters) for its limit/offset? * * @return True if bind variables can be used; false otherwise. */ public boolean supportsVariableLimit() { return supportsLimit(); }
/** * Does this dialect's LIMIT support (if any) additionally * support specifying an offset? * * @return True if the dialect supports an offset within the limit support. */ public boolean supportsLimitOffset() { return supportsLimit(); }
/** * Does this dialect's LIMIT support (if any) additionally * support specifying an offset? * * @return True if the dialect supports an offset within the limit support. */ public boolean supportsLimitOffset() { return supportsLimit(); }
/** * Does this dialect support bind variables (i.e., prepared statement * parameters) for its limit/offset? * * @return True if bind variables can be used; false otherwise. */ public boolean supportsVariableLimit() { return supportsLimit(); }
@Override @Deprecated public boolean supportsLimit() { return delegate.supportsLimit(); }
@Override @Deprecated public boolean supportsLimit() { return delegate.supportsLimit(); }
@Override @Deprecated public boolean supportsLimit() { return delegate.supportsLimit(); }
/** * Does this dialect support bind variables (i.e., prepared statement * parameters) for its limit/offset? * * @return True if bind variables can be used; false otherwise. * @deprecated {@link #getLimitHandler()} should be overridden instead. */ @Deprecated public boolean supportsVariableLimit() { return supportsLimit(); }
/** * Does this dialect's LIMIT support (if any) additionally * support specifying an offset? * * @return True if the dialect supports an offset within the limit support. * @deprecated {@link #getLimitHandler()} should be overridden instead. */ @Deprecated public boolean supportsLimitOffset() { return supportsLimit(); }
@Override @Deprecated public boolean supportsLimit() { return delegate.supportsLimit(); }
/** * Should we pre-process the SQL string, adding a dialect-specific * LIMIT clause. */ private static boolean useLimit(final RowSelection selection, final Dialect dialect) { return dialect.supportsLimit() && hasMaxRows( selection ); }
/** * Should we pre-process the SQL string, adding a dialect-specific * LIMIT clause. */ private static boolean useLimit(final RowSelection selection, final Dialect dialect) { return dialect.supportsLimit() && hasMaxRows( selection ); }
/** * Should we pre-process the SQL string, adding a dialect-specific * LIMIT clause. */ private static boolean useLimit(final RowSelection selection, final Dialect dialect) { return dialect.supportsLimit() && hasMaxRows( selection ); }
/** * Should we pre-process the SQL string, adding a dialect-specific * LIMIT clause. */ private static boolean useLimit(final RowSelection selection, final Dialect dialect) { return dialect.supportsLimit() && hasMaxRows( selection ); }