public class Sqlite3Dialect extends Dialect
Dialect.Holder
keepByteAndShort, modelBuilder, recordBuilder
Constructor and Description |
---|
Sqlite3Dialect() |
Modifier and Type | Method and Description |
---|---|
void |
fillStatement(PreparedStatement pst,
List<Object> paras) |
void |
fillStatement(PreparedStatement pst,
Object... paras) |
String |
forDbDeleteById(String tableName,
String[] pKeys) |
String |
forDbFindById(String tableName,
String[] pKeys) |
void |
forDbSave(String tableName,
String[] pKeys,
Record record,
StringBuilder sql,
List<Object> paras) |
void |
forDbUpdate(String tableName,
String[] pKeys,
Object[] ids,
Record record,
StringBuilder sql,
List<Object> paras) |
String |
forModelDeleteById(Table table) |
String |
forModelFindById(Table table,
String columns) |
void |
forModelSave(Table table,
Map<String,Object> attrs,
StringBuilder sql,
List<Object> paras) |
void |
forModelUpdate(Table table,
Map<String,Object> attrs,
Set<String> modifyFlag,
StringBuilder sql,
List<Object> paras) |
String |
forPaginate(int pageNumber,
int pageSize,
StringBuilder findSql) |
String |
forTableBuilderDoBuild(String tableName) |
buildModelList, buildRecordList, fillStatementHandleDateType, fillStatementHandleDateType, getDefaultPrimaryKey, getModelGeneratedKey, getRecordGeneratedKey, isKeepByteAndShort, isOracle, 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
Copyright © 2018. All rights reserved.