public class PropertyExpression extends Object implements Criterion
Modifier | Constructor and Description |
---|---|
protected |
PropertyExpression(String propertyName,
String otherPropertyName,
String op) |
Modifier and Type | Method and Description |
---|---|
String |
getOp() |
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 |
toString() |
public String getOp()
public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
toSqlString
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overall criteria queryHibernateException
- Problem during rendering.public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery)
Criterion
getTypedValues
in interface Criterion
criteria
- The local criteriacriteriaQuery
- The overall criteria queryCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.