public interface DynamicQuery
Modifier and Type | Method and Description |
---|---|
<T> void |
delete(Class<T> entityClass,
Object entityid) |
<T> void |
delete(Class<T> entityClass,
Object[] entityids) |
int |
nativeExecuteUpdate(String nativeSql,
Object... params)
执行nativeSql的update,delete操作
|
Object[] |
nativeQueryArray(String nativeSql,
Object... params)
执行nativeSql统计查询
|
<T> List<T> |
nativeQueryList(String nativeSql,
Object... params)
查询对象列表,返回List
|
<T> List<T> |
nativeQueryListMap(String nativeSql,
Object... params)
查询对象列表,返回List
|
<T> List<T> |
nativeQueryListModel(Class<T> resultClass,
String nativeSql,
Object... params)
查询对象列表,返回List<组合对象>
|
Object |
nativeQueryObject(String nativeSql,
Object... params)
执行nativeSql统计查询
|
void |
save(Object entity) |
void |
update(Object entity) |
void save(Object entity)
void update(Object entity)
<T> List<T> nativeQueryList(String nativeSql, Object... params)
resultClass
- nativeSql
- params
- <T> List<T> nativeQueryListMap(String nativeSql, Object... params)
nativeSql
- params
- <T> List<T> nativeQueryListModel(Class<T> resultClass, String nativeSql, Object... params)
resultClass
- nativeSql
- params
- Object nativeQueryObject(String nativeSql, Object... params)
nativeSql
- params
- 占位符参数(例如?1)绑定的参数值Object[] nativeQueryArray(String nativeSql, Object... params)
nativeSql
- params
- 占位符参数(例如?1)绑定的参数值Copyright © 2018 Pivotal Software, Inc.. All rights reserved.