public interface DAOSession
限定符和类型 | 方法和说明 |
---|---|
<T> long |
count(QueryCondition queryCondition,
java.lang.Class<T> entityClass) |
<T> java.util.List<T> |
find(QueryCondition queryCondition,
java.lang.Class<T> entityClass) |
<T> java.util.List<java.lang.Object> |
findInProjection(QueryCondition queryCondition,
java.lang.Class<T> entityClass,
DataColumn... columns) |
<T> java.util.List<java.lang.Object> |
findInProjection(QueryCondition queryCondition,
java.lang.Class<T> entityClass,
java.lang.String... columns) |
<T> T |
findOne(QueryCondition queryCondition,
java.lang.Class<T> entityClass) |
<T> DataList<T> |
findWithTotalCount(QueryCondition queryCondition,
java.lang.Class<T> entityClass) |
<T> T |
getById(java.lang.String id,
java.lang.Class<T> entityClass) |
<T> void |
merge(T o) |
void |
persist(java.lang.Object o) |
<T> void |
remove(QueryCondition queryCondition,
java.lang.Class<T> entityClass) |
void persist(java.lang.Object o) throws java.lang.Exception
java.lang.Exception
<T> void remove(QueryCondition queryCondition, java.lang.Class<T> entityClass) throws java.lang.Exception
java.lang.Exception
<T> java.util.List<T> find(QueryCondition queryCondition, java.lang.Class<T> entityClass) throws java.lang.Exception
java.lang.Exception
<T> java.util.List<java.lang.Object> findInProjection(QueryCondition queryCondition, java.lang.Class<T> entityClass, java.lang.String... columns) throws java.lang.Exception
java.lang.Exception
<T> java.util.List<java.lang.Object> findInProjection(QueryCondition queryCondition, java.lang.Class<T> entityClass, DataColumn... columns) throws java.lang.Exception
java.lang.Exception
<T> T findOne(QueryCondition queryCondition, java.lang.Class<T> entityClass) throws java.lang.Exception
java.lang.Exception
<T> DataList<T> findWithTotalCount(QueryCondition queryCondition, java.lang.Class<T> entityClass) throws java.lang.Exception
java.lang.Exception
<T> T getById(java.lang.String id, java.lang.Class<T> entityClass) throws java.lang.Exception
java.lang.Exception
<T> void merge(T o) throws java.lang.Exception
java.lang.Exception
<T> long count(QueryCondition queryCondition, java.lang.Class<T> entityClass) throws java.lang.Exception
java.lang.Exception