public class OracleTemplate extends ASqlTemplate
param, sqlscolumns, groupBys, havings, keyComparator, NAMED_PLACEHOLDER_PREFIX, namedPlaceHolderPattern, onPattern, params, PLACEHOLDER, PLACEHOLDER_REG, sorts, sql, tables, wheresconnection| 构造器和说明 |
|---|
OracleTemplate() |
| 限定符和类型 | 方法和说明 |
|---|---|
PageData |
page(int pageNumber,
int pageSize)
分页
|
boolean |
support(String dbType)
是否支持指定DB类型
|
List<Bean> |
top(int count)
查询并返回指定条数的记录
|
buildSql, count, iterator, one, param, param, query, query, sql, sqlIf, topOne, updatebindParams, buildLog, buildParams, buildParams, buildPureSqlCondition, buildSqlIn, buildSqlParams, buildSqlWhere, buildTables, executeUpdate, executeUpdateAndGetGenerated, finalize, finalize, getParams, getSql, prepareStatement, prepareStatement, queryIterator, queryList, queryList, toBeans, where, where, whereIf, whereIf, whereIf, whereIn, whereNotEqual, 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 PageData page(int pageNumber, int pageSize)
ISqlTemplatepage 在接口中 ISqlTemplatepage 在类中 ASqlTemplatepageNumber - 页码,从1开始pageSize - 每页记录数Copyright © 2023. All Rights Reserved.