public class MysqlDialect extends Dialect
Dialect.HolderkeepByteAndShort, modelBuilder, recordBuilder| 构造器和说明 |
|---|
MysqlDialect() |
buildModelList, buildRecordList, buildRecordListWithJsonFields, eachModel, eachRecord, fillStatement, fillStatement, forPaginateTotalRow, getDefaultPrimaryKey, getModelGeneratedKey, getRecordGeneratedKey, isKeepByteAndShort, isOracle, isPrimaryKey, isTakeOverDbPaginate, isTakeOverModelPaginate, processGeneratedBigIntegerKey, replaceOrderBy, setKeepByteAndShort, setModelBuilder, setRecordBuilder, takeOverDbPaginate, takeOverModelPaginate, trimPrimaryKeyspublic String forTableBuilderDoBuild(String tableName)
forTableBuilderDoBuild 在类中 Dialectpublic String forFindAll(String tableName)
forFindAll 在类中 Dialectpublic void forModelSave(Table table, Map<String,Object> attrs, StringBuilder sql, List<Object> paras)
forModelSave 在类中 Dialectpublic String forModelDeleteById(Table table)
forModelDeleteById 在类中 Dialectpublic void forModelUpdate(Table table, Map<String,Object> attrs, Set<String> modifyFlag, StringBuilder sql, List<Object> paras)
forModelUpdate 在类中 Dialectpublic String forModelFindById(Table table, String columns)
forModelFindById 在类中 Dialectpublic String forDbFindById(String tableName, String[] pKeys)
forDbFindById 在类中 Dialectpublic String forDbDeleteById(String tableName, String[] pKeys)
forDbDeleteById 在类中 Dialectpublic void forDbSave(String tableName, String[] pKeys, Record record, StringBuilder sql, List<Object> paras)
public StringBuffer forDbFind(String tableName, String columns, Record record, List<Object> paras)
public void forDbDelete(String tableName, String[] pKeys, Record record, StringBuilder sql, List<Object> paras)
forDbDelete 在类中 Dialectpublic void forDbUpdate(String tableName, String[] pKeys, Object[] ids, Record record, StringBuilder sql, List<Object> paras)
forDbUpdate 在类中 Dialectpublic String forPaginate(int pageNumber, int pageSize, StringBuilder findSql)
forPaginate 在类中 Dialectpublic String forDbFindColumnsById(String tableName, String columns, String[] pKeys)
forDbFindColumnsById 在类中 Dialectpublic String forDbFindColumns(String tableName, String columns)
forDbFindColumns 在类中 Dialectpublic String forExistsByFields(String tableName, String fields)
forExistsByFields 在类中 Dialectpublic void forDbUpdate(String tableName, String[] pKeys, Object[] ids, Record record, StringBuilder sql, List<Object> paras, String[] jsonFields)
forDbUpdate 在类中 Dialectpublic void transformJsonFields(Record record, String[] jsonFields)
transformJsonFields 在类中 Dialectpublic void transformJsonFields(List<Record> recordList, String[] jsonFields)
transformJsonFields 在类中 Dialectpublic void fillPst(PreparedStatement pst, int i, Object value) throws SQLException
fillPst 在类中 DialectSQLExceptionCopyright © 2024. All rights reserved.