public class NaturalIdentifier extends Object implements Criterion
Session.byNaturalId(Class),
Session.byNaturalId(String),
Session.bySimpleNaturalId(Class),
Session.bySimpleNaturalId(String),
Serialized Form| Constructor and Description |
|---|
NaturalIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getNaturalIdValues() |
TypedValue[] |
getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
NaturalIdentifier |
set(String property,
Object value) |
String |
toSqlString(Criteria criteria,
CriteriaQuery criteriaQuery)
Render the SQL fragment
|
public TypedValue[] getTypedValues(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
CriteriongetTypedValues in interface Criterioncriteria - The local criteriacriteriaQuery - The overal criteria queryHibernateException - Problem determining types.public String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
CriteriontoSqlString in interface Criterioncriteria - The local criteriacriteriaQuery - The overal criteria queryHibernateException - Problem during rendering.public NaturalIdentifier set(String property, Object value)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.