public class SqlserverTemplate extends ASqlTemplate
param, sqlscolumns, groupBys, havings, params, sorts, sql, tables, wheresconnection| 构造器和说明 |
|---|
SqlserverTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
count()
查询记录数
|
PageData |
page(int pageNumber,
int pageSize)
分页
|
boolean |
support(String dbType)
是否支持指定DB类型
|
List<Bean> |
top(int count)
查询并返回指定条数的记录
|
buildSql, iterator, one, paging, param, param, query, query, sql, sqlIf, topOne, updatebindParams, buildLog, buildParams, buildParams, finalize, finalize, getParams, getSql, toBeans, where, where, where, whereIf, whereIf, whereIf, whereIn, whereNotInsetConnectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParams, getSqlpublic boolean support(String dbType)
IDaoExecutersupport 在接口中 IDaoExecutersupport 在类中 AbstractSqlExecuterdbType - DB类型public List<Bean> top(int count)
ISqlTemplatetop 在接口中 ISqlTemplatetop 在类中 ASqlTemplatecount - 记录数public int count()
ISqlTemplatecount 在接口中 ISqlTemplatecount 在类中 ASqlTemplatepublic PageData page(int pageNumber, int pageSize)
ISqlTemplatepage 在接口中 ISqlTemplatepage 在类中 ASqlTemplatepageNumber - 页码,从1开始pageSize - 每页记录数Copyright © 2018. All Rights Reserved.