public class OracleDialect extends Dialect
Dialect.Holder
keepByteAndShort, modelBuilder, recordBuilder
Constructor and Description |
---|
OracleDialect() |
buildModelList, buildRecordList, fillStatementHandleDateType, fillStatementHandleDateType, getModelGeneratedKey, getRecordGeneratedKey, isKeepByteAndShort, isPrimaryKey, isTakeOverDbPaginate, isTakeOverModelPaginate, processGeneratedBigIntegerKey, replaceOrderBy, setKeepByteAndShort, setModelBuilder, setRecordBuilder, takeOverDbPaginate, takeOverModelPaginate, trimPrimaryKeys
public String forTableBuilderDoBuild(String tableName)
forTableBuilderDoBuild
in class Dialect
public void forModelSave(Table table, Map<String,Object> attrs, StringBuilder sql, List<Object> paras)
forModelSave
in class Dialect
public String forModelDeleteById(Table table)
forModelDeleteById
in class Dialect
public void forModelUpdate(Table table, Map<String,Object> attrs, Set<String> modifyFlag, StringBuilder sql, List<Object> paras)
forModelUpdate
in class Dialect
public String forModelFindById(Table table, String columns)
forModelFindById
in class Dialect
public String forDbFindById(String tableName, String[] pKeys)
forDbFindById
in class Dialect
public String forDbDeleteById(String tableName, String[] pKeys)
forDbDeleteById
in class Dialect
public void forDbSave(String tableName, String[] pKeys, Record record, StringBuilder sql, List<Object> paras)
public void forDbUpdate(String tableName, String[] pKeys, Object[] ids, Record record, StringBuilder sql, List<Object> paras)
forDbUpdate
in class Dialect
public String forPaginate(int pageNumber, int pageSize, StringBuilder findSql)
forPaginate
in class Dialect
public void fillStatement(PreparedStatement pst, List<Object> paras) throws SQLException
fillStatement
in class Dialect
SQLException
public void fillStatement(PreparedStatement pst, Object... paras) throws SQLException
fillStatement
in class Dialect
SQLException
public String getDefaultPrimaryKey()
getDefaultPrimaryKey
in class Dialect
Copyright © 2018. All rights reserved.