com.queryflow.page.H2PageSqlMatchProcess Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of queryflow Show documentation
Show all versions of queryflow Show documentation
An ORM framework that can be developed as quickly as water flows!
The newest version!
package com.queryflow.page;
import com.queryflow.common.DbType;
public class H2PageSqlMatchProcess extends AbstractPageSqlMatchProcess {
@Override
protected String dbType() {
return DbType.H2.value();
}
@Override
protected String internalSqlProcess(String sql, int start, int limit) {
StringBuilder pageSql = new StringBuilder(sql);
pageSql.append(" limit ").append(start).append(", ").append(limit);
return pageSql.toString();
}
}