public class OracleJsonObjectDao extends GeneralJsonObjectDao
GeneralJsonObjectDao.JSONObjectComparatorSELF_ORDER_BY, TABLE_SORT_FIELD, TABLE_SORT_ORDER| 构造器和说明 |
|---|
OracleJsonObjectDao() |
OracleJsonObjectDao(Connection conn) |
OracleJsonObjectDao(Connection conn,
TableInfo tableInfo) |
OracleJsonObjectDao(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)
获取Sequence的值,不支持的Sequence数据库可以用一个表或者存储过程来模拟
|
com.alibaba.fastjson.JSONArray |
listObjectsByProperties(Map<String,Object> properties,
int startPos,
int maxSize)
根据属性进行查询
|
buildFieldSql, buildFieldSqlWithFieldName, buildFilterSql, buildFilterSqlByPk, buildGetObjectSqlByPk, buildInsertSql, buildPartFieldSql, buildPartFieldSqlWithFieldName, buildQuerySqlByProperties, buildUpdateSql, checkHasAllPkColumns, checkHasAllPkColumns, createJsonObjectDao, createJsonObjectDao, createJsonObjectDao, deleteObjectById, deleteObjects, deleteObjectsAsTabulation, deleteObjectsAsTabulation, deleteObjectsByProperties, doExecuteNamedSql, doExecuteSql, doExecuteSql, fetchObjectsCount, fetchSelfOrderSql, fetchSelfOrderSql, findObjectsAsJSON, findObjectsByNamedSql, findObjectsByNamedSqlAsJSON, findObjectsBySql, getConnect, getObjectById, getObjectByProperties, getSimulateSequenceNextValue, getTableInfo, insertObjectsAsTabulation, isPkColumn, listObjectsByProperties, makePkFieldMap, mapFieldToColumnPiece, mapObjectProperties, mapObjectProperties, mergeObject, mergeObject, replaceObjectsAsTabulation, replaceObjectsAsTabulation, replaceObjectsAsTabulation, saveNewObject, setConnect, setTableInfo, updateObject, updateObject, updateObjectsByProperties, updateObjectsByPropertiespublic OracleJsonObjectDao()
public OracleJsonObjectDao(Connection conn)
public OracleJsonObjectDao(TableInfo tableInfo)
public OracleJsonObjectDao(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
JsonObjectDaosequenceName - sequenceNameSQLException - SQLExceptionIOException - IOExceptionpublic List<Object[]> findObjectsBySql(String sSql, Object[] values, int pageNo, int pageSize) throws SQLException, IOException
sSql - String sql语句values - Object [] 参数pageNo - 当前页码pageSize - 每页大小SQLException - SQLExceptionIOException - IOExceptionpublic 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 © 2025 江苏南大先腾信息产业股份有限公司. All rights reserved.