public class SqlSvrJsonObjectDao extends GeneralJsonObjectDao
GeneralJsonObjectDao.JSONObjectComparator| 构造器和说明 |
|---|
SqlSvrJsonObjectDao() |
SqlSvrJsonObjectDao(Connection conn) |
SqlSvrJsonObjectDao(Connection conn,
TableInfo tableInfo) |
SqlSvrJsonObjectDao(TableInfo tableInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.alibaba.fastjson.JSONArray |
findObjectsAsJSON(String sSql,
Object[] values,
String[] fieldnames,
int pageNo,
int pageSize) |
List<Object[]> |
findObjectsByNamedSql(String sSql,
Map<String,Object> values,
int pageNo,
int pageSize) |
com.alibaba.fastjson.JSONArray |
findObjectsByNamedSqlAsJSON(String sSql,
Map<String,Object> values,
String[] fieldnames,
int pageNo,
int pageSize) |
List<Object[]> |
findObjectsBySql(String sSql,
Object[] values,
int pageNo,
int pageSize) |
Long |
getSequenceNextValue(String sequenceName)
create table sequence_table (sequence_Name varchar(100) not null primary key, current_value integer);
|
com.alibaba.fastjson.JSONArray |
listObjectsByProperties(Map<String,Object> properties,
int startPos,
int maxSize)
根据属性进行查询
|
buildFieldSql, buildFilterSql, buildFilterSqlByPk, buildGetObjectSqlByPk, checkHasAllPkColumns, deleteObjectById, deleteObjectById, deleteObjects, deleteObjectsAsTabulation, deleteObjectsAsTabulation, deleteObjectsByProperties, doExecuteNamedSql, doExecuteSql, doExecuteSql, fetchObjectsCount, findObjectsAsJSON, findObjectsByNamedSql, findObjectsByNamedSqlAsJSON, findObjectsBySql, getConnect, getObjectById, getObjectById, getObjectByProperties, getSimulateSequenceNextValue, getTableInfo, insertObjectsAsTabulation, isPkColumn, listObjectsByProperties, mergeObject, mergeObject, replaceObjectsAsTabulation, replaceObjectsAsTabulation, replaceObjectsAsTabulation, saveNewObject, setConnect, setTableInfo, updateObject, updateObject, updateObjectsByProperties, updateObjectsByPropertiespublic SqlSvrJsonObjectDao()
public SqlSvrJsonObjectDao(Connection conn)
public SqlSvrJsonObjectDao(TableInfo tableInfo)
public SqlSvrJsonObjectDao(Connection conn, TableInfo tableInfo)
public com.alibaba.fastjson.JSONArray listObjectsByProperties(Map<String,Object> properties, int startPos, int maxSize) throws SQLException, IOException
JsonObjectDaoproperties - propertiesstartPos - startPosmaxSize - maxSizeSQLException - SQLExceptionIOException - IOExceptionpublic Long getSequenceNextValue(String sequenceName) throws SQLException, IOException
sequenceName - sequenceNameSQLException - SQLExceptionIOException - IOExceptionpublic List<Object[]> findObjectsBySql(String sSql, Object[] values, int pageNo, int pageSize) throws SQLException, IOException
public List<Object[]> findObjectsByNamedSql(String sSql, Map<String,Object> values, int pageNo, int pageSize) throws SQLException, IOException
public com.alibaba.fastjson.JSONArray findObjectsAsJSON(String sSql, Object[] values, String[] fieldnames, int pageNo, int pageSize) throws SQLException, IOException
public com.alibaba.fastjson.JSONArray findObjectsByNamedSqlAsJSON(String sSql, Map<String,Object> values, String[] fieldnames, int pageNo, int pageSize) throws SQLException, IOException
Copyright © 2017. All rights reserved.