public class Junction extends Object implements Criterion
Modifier and Type | Method and Description |
---|---|
Junction |
add(Criterion criterion) |
String |
getOp() |
TypedValue[] |
getTypedValues(Criteria crit,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
String |
toSqlString(Criteria crit,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
String |
toString() |
protected Junction(String op)
public String getOp()
public TypedValue[] getTypedValues(Criteria crit, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
getTypedValues
in interface Criterion
crit
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem determining types.public String toSqlString(Criteria crit, CriteriaQuery criteriaQuery) throws HibernateException
Criterion
toSqlString
in interface Criterion
crit
- The local criteriacriteriaQuery
- The overal criteria queryHibernateException
- Problem during rendering.public String toString()
toString
in class Object
Object.toString()
Copyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved