com.xiaoleilu.hutool.db.dialect.impl
类 OracleDialect

java.lang.Object
  继承者 com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect
      继承者 com.xiaoleilu.hutool.db.dialect.impl.OracleDialect
所有已实现的接口:
Dialect

public class OracleDialect
extends AnsiSqlDialect

Oracle 方言

作者:
loolly

构造方法摘要
OracleDialect()
           
 
方法摘要
 PreparedStatement psForInsert(Connection conn, Entity entity)
          构建用于插入的PreparedStatement
 PreparedStatement psForPage(Connection conn, Collection<String> fields, Entity where, int page, int numPerPage)
          构建用于分页查询的PreparedStatement
 
从类 com.xiaoleilu.hutool.db.dialect.impl.AnsiSqlDialect 继承的方法
buildSelectQuery, psForCount, psForDelete, psForFind, psForUpdate
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

OracleDialect

public OracleDialect()
方法详细信息

psForInsert

public PreparedStatement psForInsert(Connection conn,
                                     Entity entity)
                              throws SQLException
从接口 Dialect 复制的描述
构建用于插入的PreparedStatement

指定者:
接口 Dialect 中的 psForInsert
覆盖:
AnsiSqlDialect 中的 psForInsert
参数:
conn - 数据库连接对象
entity - 数据实体类(包含表名)
返回:
PreparedStatement
抛出:
SQLException

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.