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, disableQueryCache, doInHibernate, enableFilters, enableQueryCache, get, ownerOrGroupFilters, setCriteria, setQuery, value
public IObjectClassQuery(Parameters parameters)
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
Version: 5.4.10-ice35-b105
Copyright © 2019 The University of Dundee & Open Microscopy Environment. All Rights Reserved.