public class StringQuery extends Query
Query.setParameter(java.lang.String, java.lang.Object)
.
Parameters with a value of type Collection
are added as
Query.setParameterList(java.lang.String, java.util.Collection)
No parsing is done until execution time.Modifier and Type | Field and Description |
---|---|
static String |
STRING
parameter name for the definition of the HQL string.
|
FETCH, INNER_JOIN, LEFT_JOIN, newlyEnabledFilters, params
Constructor and Description |
---|
StringQuery(Parameters parameters)
Default constructor, used primarily for testing.
|
StringQuery(SqlAction sql,
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 static final String STRING
public StringQuery(Parameters parameters)
SqlAction
field null preventing
query rewriting.public StringQuery(SqlAction sql, 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.2.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.