public class OracleDialect extends Dialect
OracleDialect class.
Dialect.HolderkeepByteAndShort, modelBuilder, recordBuilder| 构造器和说明 |
|---|
OracleDialect()
Constructor for OracleDialect.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fillStatement(PreparedStatement pst,
List<Object> paras)
fillStatement.
|
void |
fillStatement(PreparedStatement pst,
Object... paras)
fillStatement.
|
String |
forDbDeleteById(String tableName,
String[] pKeys)
forDbDeleteById.
|
String |
forDbFindById(String tableName,
String[] pKeys)
forDbFindById.
|
void |
forDbSave(String tableName,
String[] pKeys,
Record record,
StringBuilder sql,
List<Object> paras)
forDbSave.
|
void |
forDbUpdate(String tableName,
String[] pKeys,
Object[] ids,
Record record,
StringBuilder sql,
List<Object> paras)
forDbUpdate.
|
String |
forModelDeleteById(Table table)
forModelDeleteById.
|
String |
forModelFindById(Table table,
String columns)
forModelFindById.
|
void |
forModelSave(Table table,
Map<String,Object> attrs,
StringBuilder sql,
List<Object> paras)
forModelSave.
|
void |
forModelUpdate(Table table,
Map<String,Object> attrs,
Set<String> modifyFlag,
StringBuilder sql,
List<Object> paras)
forModelUpdate.
|
String |
forPaginate(int pageNumber,
int pageSize,
StringBuilder findSql)
forPaginate.
|
String |
forTableBuilderDoBuild(String tableName)
forTableBuilderDoBuild.
|
String |
getDefaultPrimaryKey()
getDefaultPrimaryKey.
|
boolean |
isOracle()
isOracle.
|
buildModelList, buildRecordList, fillStatementHandleDateType, fillStatementHandleDateType, forFindAll, getModelGeneratedKey, getRecordGeneratedKey, isKeepByteAndShort, isPrimaryKey, isTakeOverDbPaginate, isTakeOverModelPaginate, processGeneratedBigIntegerKey, replaceOrderBy, setKeepByteAndShort, setModelBuilder, setRecordBuilder, takeOverDbPaginate, takeOverModelPaginate, trimPrimaryKeyspublic String forTableBuilderDoBuild(String tableName)
forTableBuilderDoBuild.
forTableBuilderDoBuild 在类中 DialecttableName - a String object.String object.public void forModelSave(Table table, Map<String,Object> attrs, StringBuilder sql, List<Object> paras)
forModelSave.
forModelSave 在类中 Dialecttable - a Table object.attrs - a Map object.sql - a StringBuilder object.paras - a List object.public String forModelDeleteById(Table table)
forModelDeleteById.
forModelDeleteById 在类中 Dialecttable - a Table object.String object.public void forModelUpdate(Table table, Map<String,Object> attrs, Set<String> modifyFlag, StringBuilder sql, List<Object> paras)
forModelUpdate.
forModelUpdate 在类中 Dialecttable - a Table object.attrs - a Map object.modifyFlag - a Set object.sql - a StringBuilder object.paras - a List object.public String forModelFindById(Table table, String columns)
forModelFindById.
forModelFindById 在类中 Dialecttable - a Table object.columns - a String object.String object.public String forDbFindById(String tableName, String[] pKeys)
forDbFindById.
forDbFindById 在类中 DialecttableName - a String object.pKeys - an array of String objects.String object.public String forDbDeleteById(String tableName, String[] pKeys)
forDbDeleteById.
forDbDeleteById 在类中 DialecttableName - a String object.pKeys - an array of String objects.String object.public void forDbSave(String tableName, String[] pKeys, Record record, StringBuilder sql, List<Object> paras)
forDbSave.
public void forDbUpdate(String tableName, String[] pKeys, Object[] ids, Record record, StringBuilder sql, List<Object> paras)
forDbUpdate.
forDbUpdate 在类中 DialecttableName - a String object.pKeys - an array of String objects.ids - an array of Object objects.record - a Record object.sql - a StringBuilder object.paras - a List object.public String forPaginate(int pageNumber, int pageSize, StringBuilder findSql)
forPaginate.
forPaginate 在类中 DialectpageNumber - a int.pageSize - a int.findSql - a StringBuilder object.String object.public void fillStatement(PreparedStatement pst, List<Object> paras) throws SQLException
fillStatement.
fillStatement 在类中 Dialectpst - a PreparedStatement object.paras - a List object.SQLException - if any.public void fillStatement(PreparedStatement pst, Object... paras) throws SQLException
fillStatement.
fillStatement 在类中 Dialectpst - a PreparedStatement object.paras - a Object object.SQLException - if any.public String getDefaultPrimaryKey()
getDefaultPrimaryKey.
getDefaultPrimaryKey 在类中 DialectString object.Copyright © 2023. All rights reserved.