com.jaregu.database.queries.dialect.MicrosoftSQLServer2012PlusDialect Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of queries Show documentation
Show all versions of queries Show documentation
Java based SQL templating project. Store your queries in *.sql files and build queries for execution. Supports simple expressions and conditional clauses and interface proxying for java-sql bridge.
package com.jaregu.database.queries.dialect;
import java.util.ArrayList;
import java.util.List;
import com.jaregu.database.queries.building.Query;
import com.jaregu.database.queries.building.QueryImpl;
public class MicrosoftSQLServer2012PlusDialect extends DefaultDialectImpl {
@Override
public Query toPagedQuery(Query query, Pageable pageable) {
if (pageable.getLimit() != null) {
List