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(Parameters parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildQuery(org.hibernate.Session session)
main point of entry for subclasses.
|
check, checkParameters, disableFilters, doInHibernate, enableFilters, get, ownerOrGroupFilters, setCriteria, setQuery, value
public IObjectClassQuery(Parameters parameters)
protected void buildQuery(org.hibernate.Session session) throws org.hibernate.HibernateException, 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
SQLException
Version: 5.3.5-ice35-b73
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.