Package | Description |
---|---|
com.manydesigns.portofino.database | |
com.manydesigns.portofino.persistence |
Modifier and Type | Method and Description |
---|---|
static List<Object> |
QueryUtils.getObjects(Session session,
String queryString,
TableCriteria criteria,
Object rootObject,
Integer firstResult,
Integer maxResults)
Runs a query against the database.
|
static List<Object> |
QueryUtils.getObjects(Session session,
TableCriteria criteria,
Integer firstResult,
Integer maxResults)
Runs a query, expressed as
TableCriteria , against the database. |
static QueryStringWithParameters |
QueryUtils.getQueryStringWithParametersForCriteria(TableCriteria criteria)
Tranforms a
TableCriteria to a query string with an associated array of parameters. |
static QueryStringWithParameters |
QueryUtils.getQueryStringWithParametersForCriteria(TableCriteria criteria,
String alias,
int initialParameterIndex)
Tranforms a
TableCriteria to a query string with an associated array of parameters. |
static QueryStringWithParameters |
QueryUtils.mergeQuery(String queryString,
TableCriteria criteria,
Object rootObject)
Merges a HQL query string with a
TableCriteria object representing a search. |