public interface Repository
extends cn.sylinx.hbatis.ext.common.repository.CommonRepository
| 限定符和类型 | 方法和说明 |
|---|---|
int |
delete(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
删除操作
|
int |
delete(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
删除操作
|
int |
insert(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
插入操作
|
int |
insert(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
插入操作
|
cn.sylinx.hbatis.db.common.Record |
queryRecord(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
查询单个对象
|
cn.sylinx.hbatis.db.common.Record |
queryRecord(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
查询单个对象
|
List<cn.sylinx.hbatis.db.common.Record> |
queryRecords(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
查询对象列表
|
List<cn.sylinx.hbatis.db.common.Record> |
queryRecords(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
查询对象列表
|
List<cn.sylinx.hbatis.db.common.Record> |
queryRecordsWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
查询对象列表
|
List<cn.sylinx.hbatis.db.common.Record> |
queryRecordsWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
查询对象列表
|
cn.sylinx.hbatis.db.common.Record |
queryRecordWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
查询单个对象
|
cn.sylinx.hbatis.db.common.Record |
queryRecordWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
查询单个对象
|
int |
update(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
更新操作
|
int |
update(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
更新操作
|
Object |
updateWithReturnPk(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
更新并获取主键
|
delete, delete, executeLargeUpdate, existTable, getDatabase, getDialect, insert, queryList, queryList, queryListWithCache, queryListWithCache, queryRecord, queryRecord, queryRecords, queryRecords, queryRecordsWithCache, queryRecordsWithCache, queryRecordWithCache, queryRecordWithCache, save, saveNoPk, saveObject, saveObjectNoPk, transaction, update, updateint insert(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
resource - params - int insert(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
resource - cn.sylinx.hbatis.db.common.Record queryRecord(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
resource - params - cn.sylinx.hbatis.db.common.Record queryRecord(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
resource - List<cn.sylinx.hbatis.db.common.Record> queryRecords(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource, Map<String,Object> params)
resource - params - List<cn.sylinx.hbatis.db.common.Record> queryRecords(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
resource - int update(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
resource - params - int update(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
resource - Object updateWithReturnPk(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource, Map<String,Object> params)
resource - params - int delete(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
resource - params - int delete(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
resource - cn.sylinx.hbatis.db.common.Record queryRecordWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
resource - params - cn.sylinx.hbatis.db.common.Record queryRecordWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
resource - List<cn.sylinx.hbatis.db.common.Record> queryRecordsWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource, Map<String,Object> params)
resource - params - List<cn.sylinx.hbatis.db.common.Record> queryRecordsWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
resource - Copyright © 2018. All rights reserved.