public class AbstractDMLBuilder extends AbstractSQLBuilder implements DMLBuilder
connectionExecutor, logger, PLACEHOLDER, quickDAOConfig| 构造器和说明 |
|---|
AbstractDMLBuilder(QuickDAOConfig quickDAOConfig) |
execute, getFieldFromInstance, replaceFirst, selectCountById, selectCountByUniqueKey, setParameter, setParameter, setPrepareStatementParameterpublic AbstractDMLBuilder(QuickDAOConfig quickDAOConfig)
public ConnectionExecutorItem insert(Object instance) throws Exception
DMLBuilderinsert 在接口中 DMLBuilderExceptionpublic ConnectionExecutorItem[] insert(Object[] instances) throws Exception
DMLBuilderinsert 在接口中 DMLBuilderinstances - 实例数组Exceptionpublic ConnectionExecutorItem insertBatch(Object[] instances) throws Exception
DMLBuilderinsertBatch 在接口中 DMLBuilderinstances - 实例数组Exceptionpublic ConnectionExecutorItem insertBatch(Object[] instances, int offset, int length) throws Exception
DMLBuilderinsertBatch 在接口中 DMLBuilderinstances - 实例数组offset - 便宜量length - 长度Exceptionpublic ConnectionExecutorItem updateByUniqueKey(Object instance) throws Exception
DMLBuilderupdateByUniqueKey 在接口中 DMLBuilderExceptionpublic ConnectionExecutorItem updateByUniqueKey(Object[] instances) throws Exception
DMLBuilderupdateByUniqueKey 在接口中 DMLBuilderinstances - 实例数组Exceptionpublic ConnectionExecutorItem updateById(Object instance) throws Exception
DMLBuilderupdateById 在接口中 DMLBuilderExceptionpublic ConnectionExecutorItem updateById(Object[] instances) throws Exception
DMLBuilderupdateById 在接口中 DMLBuilderinstances - 实例数组Exceptionpublic ConnectionExecutorItem deleteByUniqueKey(Object instance) throws Exception
DMLBuilderdeleteByUniqueKey 在接口中 DMLBuilderExceptionpublic ConnectionExecutorItem deleteByUniqueKey(Object[] instances) throws Exception
DMLBuilderdeleteByUniqueKey 在接口中 DMLBuilderinstances - 实例数组Exceptionpublic ConnectionExecutorItem deleteById(Object instance) throws Exception
DMLBuilderdeleteById 在接口中 DMLBuilderExceptionpublic ConnectionExecutorItem deleteById(Object[] instances) throws Exception
DMLBuilderdeleteById 在接口中 DMLBuilderinstances - 实例数组Exceptionpublic ConnectionExecutorItem deleteByProperty(Class clazz, String property, Object value) throws SQLException
DMLBuilderdeleteByProperty 在接口中 DMLBuilderclazz - 实体类property - 属性名称value - 属性值SQLExceptionpublic ConnectionExecutorItem deleteByProperty(String tableName, String property, Object value) throws SQLException
DMLBuilderdeleteByProperty 在接口中 DMLBuildertableName - 表名property - 属性名称value - 属性值SQLExceptionpublic ConnectionExecutorItem clear(String tableName) throws SQLException
DMLBuilderclear 在接口中 DMLBuildertableName - 表名称SQLExceptionCopyright © 2022. All rights reserved.