public interface Criterion extends Serializable
Restrictions
,
Criteria
Modifier and Type | Method and Description |
---|---|
TypedValue[] |
getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem during rendering.TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
criteria
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem determining types.Copyright © 2016 JBoss by Red Hat. All rights reserved.