public class IObjectClassQuery extends Query
Parameters.CLASS
parameter value to create a Criteria
and then adds
Expression
instances based on all other
parameter names.
For example:
Parameters p = new Parameters().addClass( Image.class )
.addString( "name", "LT-3059");
produces a query of the form "select i from Image i where name = 'LT-3059'"
FETCH, INNER_JOIN, LEFT_JOIN, newlyEnabledFilters, params
Constructor and Description |
---|
IObjectClassQuery(ome.parameters.Parameters parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildQuery(org.hibernate.Session session)
main point of entry for subclasses.
|
check, checkParameters, disableFilters, disableQueryCache, doInHibernate, enableFilters, enableQueryCache, get, ownerOrGroupFilters, setCriteria, setQuery, setTimeout, value
protected void buildQuery(org.hibernate.Session session) throws org.hibernate.HibernateException, java.sql.SQLException
Query
Criteria
or a Query
instance
and make it available via Query.setCriteria(org.hibernate.Criteria)
or
Query.setQuery(org.hibernate.Query)
buildQuery
in class Query
org.hibernate.HibernateException
java.sql.SQLException