public class H2Dialect extends Dialect
keepByteAndShort, modelBuilder, recordBuilder| 构造器和说明 |
|---|
H2Dialect() |
buildModelList, buildRecordListWithJsonFields, eachModel, eachRecord, fillPst, forFindAll, forPaginateTotalRow, getDefaultPrimaryKey, getModelGeneratedKey, getRecordGeneratedKey, isKeepByteAndShort, isPrimaryKey, isTakeOverDbPaginate, isTakeOverModelPaginate, processGeneratedBigIntegerKey, setKeepByteAndShort, setModelBuilder, setRecordBuilder, takeOverDbPaginate, takeOverModelPaginate, trimPrimaryKeyspublic List<Row> buildRecordList(Config config, ResultSet rs) throws SQLException
buildRecordList 在类中 DialectSQLExceptionpublic void fillStatement(PreparedStatement pst, Object... paras) throws SQLException
fillStatement 在类中 Dialectpst - paras - SQLExceptionpublic void fillStatement(PreparedStatement pst, List<Object> paras) throws SQLException
fillStatement 在类中 Dialectpst - paras - SQLExceptionpublic String forTableBuilderDoBuild(String tableName)
forTableBuilderDoBuild 在类中 Dialectpublic String forPaginate(int pageNumber, int pageSize, StringBuilder findSql)
forPaginate 在类中 Dialectpublic String forModelFindById(Table table, String columns)
forModelFindById 在类中 Dialectpublic String forModelDeleteById(Table table)
forModelDeleteById 在类中 Dialectpublic void forModelSave(Table table, Map<String,Object> attrs, StringBuilder sql, List<Object> paras)
forModelSave 在类中 Dialectpublic void forModelUpdate(Table table, Map<String,Object> attrs, Set<String> modifyFlag, StringBuilder sql, List<Object> paras)
forModelUpdate 在类中 Dialectpublic String forDbFindById(String tableName, String[] pKeys)
forDbFindById 在类中 Dialectpublic String forDbDeleteById(String tableName, String[] pKeys)
forDbDeleteById 在类中 Dialectpublic String forDbDeleteByField(String tableName, String field)
forDbDeleteByField 在类中 Dialectpublic void forDbSave(String tableName, String[] pKeys, Row record, StringBuilder sql, List<Object> paras)
public void forDbUpdate(String tableName, String[] pKeys, Object[] ids, Row record, StringBuilder sql, List<Object> paras)
forDbUpdate 在类中 Dialectpublic String forDbFindColumnsById(String tableName, String columns, String[] pKeys)
forDbFindColumnsById 在类中 Dialectpublic String forDbFindColumns(String tableName, String columns)
forDbFindColumns 在类中 Dialectpublic void forDbDelete(String tableName, String[] pKeys, Row record, StringBuilder sql, List<Object> paras)
forDbDelete 在类中 Dialectpublic String forExistsByFields(String tableName, String fields)
forExistsByFields 在类中 Dialectpublic void forDbUpdate(String tableName, String[] pKeys, Object[] ids, Row record, StringBuilder sql, List<Object> paras, String[] jsonFields)
forDbUpdate 在类中 Dialectpublic void transformJsonFields(Row record, String[] jsonFields)
transformJsonFields 在类中 Dialectpublic void transformJsonFields(List<Row> recordList, String[] jsonFields)
transformJsonFields 在类中 Dialectpublic StringBuffer forDbFind(String tableName, String columns, Row record, List<Object> paras)
public StringBuffer forDbFindByField(String tableName, String columns, String field, Object fieldValue, List<Object> paras)
forDbFindByField 在类中 Dialectpublic String forColumns(String columns)
forColumns 在类中 DialectCopyright © 2025. All rights reserved.