public class NaturalIdentifier extends Object implements Criterion
| 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 © 2001-2013 Red Hat, Inc. All Rights Reserved.