public class BudgetConstructionBatchHelperDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
Constructor and Description |
---|
BudgetConstructionBatchHelperDaoOjb() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
buildCountDistinct(org.apache.ojb.broker.query.ReportQueryByCriteria originalQuery) |
protected String[] |
buildCountDistinct(String ojbAttributeName,
Class ojbClass) |
protected HashMap<String,String> |
getDBFieldNamesForClass(Class ojbClass)
fetch the DB column names for the fields in the class for the query
|
String |
getOjbPlatform() |
protected Integer |
hashCapacity(Integer hashSize) |
protected Integer |
hashCapacity(org.apache.ojb.broker.query.QueryByCriteria queryID) |
protected Integer |
hashCapacity(org.apache.ojb.broker.query.ReportQueryByCriteria queryID) |
protected Integer |
hashObjectSize(Class classID,
org.apache.ojb.broker.query.Criteria criteriaID) |
protected Integer |
hashObjectSize(Class classID,
org.apache.ojb.broker.query.Criteria criteriaID,
String propertyName) |
protected Integer |
hashObjectSize(Class classID,
org.apache.ojb.broker.query.Criteria criteriaID,
String[] selectList) |
protected Integer |
queryCountDistinct(org.apache.ojb.broker.query.ReportQueryByCriteria originalQuery)
build a correct, DB-specific COUNT DISTINCT query to indicate how many rows a distinct or GROUP BY query will return.
|
void |
setOjbMySqlPlatform(String ojbMySqlPlatform)
build the MYSQL-specific COUNT(DISTINCT syntax
|
void |
setOjbOraclePlatform(String ojbOraclePlatform)
build the Oracle-specific COUNT (DISTINCT syntax--which is ANSI standard
|
void |
setOjbPlatform(String ojbPlatform)
initialize the ojbPlatform from the configuration properties
|
getDbPlatform, setDbPlatform
public BudgetConstructionBatchHelperDaoOjb()
protected Integer hashCapacity(org.apache.ojb.broker.query.QueryByCriteria queryID)
protected Integer hashCapacity(org.apache.ojb.broker.query.ReportQueryByCriteria queryID)
protected Integer hashCapacity(Integer hashSize)
protected Integer hashObjectSize(Class classID, org.apache.ojb.broker.query.Criteria criteriaID)
protected Integer hashObjectSize(Class classID, org.apache.ojb.broker.query.Criteria criteriaID, String propertyName)
protected Integer hashObjectSize(Class classID, org.apache.ojb.broker.query.Criteria criteriaID, String[] selectList)
protected String[] buildCountDistinct(org.apache.ojb.broker.query.ReportQueryByCriteria originalQuery)
protected String[] buildCountDistinct(String ojbAttributeName, Class ojbClass)
protected HashMap<String,String> getDBFieldNamesForClass(Class ojbClass)
ojbClass
- = class of the queryprotected Integer queryCountDistinct(org.apache.ojb.broker.query.ReportQueryByCriteria originalQuery)
originalQuery
- = OJB report query for which to find a value for the row count returnedpublic String getOjbPlatform()
public void setOjbPlatform(String ojbPlatform)
ojbPlatform
- = configuration property indicating the DB platform in usepublic void setOjbOraclePlatform(String ojbOraclePlatform)
ojbOraclePlatform
- is the Kuali constant matching the configuration property for Oraclepublic void setOjbMySqlPlatform(String ojbMySqlPlatform)
ojbMySqlPlatform
- is the Kuali constant matching the configuration property for MySQLCopyright © 2004–2015 The Kuali Foundation. All rights reserved.