com.xiaoleilu.hutool.db.dialect.impl
类 MysqlDialect
java.lang.Object
com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
com.xiaoleilu.hutool.db.dialect.impl.MysqlDialect
- 所有已实现的接口:
- Dialect
- 直接已知子类:
- Sqllite3Dialect
public class MysqlDialect
- extends AnsiSqlDialect
MySQL方言
- 作者:
- loolly
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MysqlDialect
public MysqlDialect()
psForPage
public PreparedStatement psForPage(Connection conn,
Collection<String> fields,
Entity where,
int page,
int numPerPage)
throws SQLException
- 从接口
Dialect 复制的描述
- 构建用于分页查询的PreparedStatement
- 指定者:
- 接口
Dialect 中的 psForPage - 覆盖:
- 类
AnsiSqlDialect 中的 psForPage
- 参数:
conn - 数据库连接对象fields - 返回的字段列表,null则返回所有字段where - 条件实体类page - 页码numPerPage - 每页条目数
- 返回:
- PreparedStatement
- 抛出:
SQLException
Copyright © 2014. All rights reserved.