public class RepositoryImpl extends cn.sylinx.hbatis.ext.common.repository.CommonRepositoryImpl implements Repository
| 构造器和说明 |
|---|
RepositoryImpl() |
RepositoryImpl(String datasourceName) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdelete, delete, executeLargeUpdate, existTable, getDatabase, getDialect, insert, queryList, queryList, queryListWithCache, queryListWithCache, queryRecord, queryRecord, queryRecords, queryRecords, queryRecordsWithCache, queryRecordsWithCache, queryRecordWithCache, queryRecordWithCache, save, saveNoPk, saveObject, saveObjectNoPk, transaction, update, updatepublic RepositoryImpl()
public RepositoryImpl(String datasourceName)
public int insert(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
Repositoryinsert 在接口中 Repositorypublic int insert(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
Repositoryinsert 在接口中 Repositorypublic cn.sylinx.hbatis.db.common.Record queryRecord(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
RepositoryqueryRecord 在接口中 Repositorypublic cn.sylinx.hbatis.db.common.Record queryRecord(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
RepositoryqueryRecord 在接口中 Repositorypublic List<cn.sylinx.hbatis.db.common.Record> queryRecords(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource, Map<String,Object> params)
RepositoryqueryRecords 在接口中 Repositorypublic List<cn.sylinx.hbatis.db.common.Record> queryRecords(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
RepositoryqueryRecords 在接口中 Repositorypublic int update(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
Repositoryupdate 在接口中 Repositorypublic Object updateWithReturnPk(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource, Map<String,Object> params)
RepositoryupdateWithReturnPk 在接口中 Repositorypublic int update(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
Repositoryupdate 在接口中 Repositorypublic int delete(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
Repositorydelete 在接口中 Repositorypublic int delete(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
Repositorydelete 在接口中 Repositorypublic cn.sylinx.hbatis.db.common.Record queryRecordWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource,
Map<String,Object> params)
RepositoryqueryRecordWithCache 在接口中 Repositorypublic cn.sylinx.hbatis.db.common.Record queryRecordWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
RepositoryqueryRecordWithCache 在接口中 Repositorypublic List<cn.sylinx.hbatis.db.common.Record> queryRecordsWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource, Map<String,Object> params)
RepositoryqueryRecordsWithCache 在接口中 Repositorypublic List<cn.sylinx.hbatis.db.common.Record> queryRecordsWithCache(cn.sylinx.hbatis.ext.res.ClasspathSqlResource resource)
RepositoryqueryRecordsWithCache 在接口中 RepositoryCopyright © 2018. All rights reserved.