public class Junction extends Object implements Criterion
Modifier and Type | Class and Description |
---|---|
static class |
Junction.Nature |
Modifier | Constructor and Description |
---|---|
protected |
Junction(Junction.Nature nature) |
Modifier and Type | Method and Description |
---|---|
Junction |
add(Criterion criterion) |
Iterable<Criterion> |
conditions() |
Junction.Nature |
getNature() |
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(Junction.Nature nature)
public Junction.Nature getNature()
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.Copyright © 2018 JBoss by Red Hat. All rights reserved.