| Constructor and Description |
|---|
NaturalIdentifier() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getNaturalIdValues()
Get a map of set of the natural identifier values set on this criterion (for composite natural identifiers
this need not be the full set of properties).
|
TypedValue[] |
getTypedValues(Criteria criteria,
CriteriaQuery criteriaQuery)
Return typed values for all parameters in the rendered SQL fragment
|
NaturalIdentifier |
set(java.lang.String property,
java.lang.Object value)
Set a natural identifier value for this expression
|
java.lang.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 java.lang.String toSqlString(Criteria criteria, CriteriaQuery criteriaQuery) throws HibernateException
CriteriontoSqlString in interface Criterioncriteria - The local criteriacriteriaQuery - The overal criteria queryHibernateException - Problem during rendering.public java.util.Map<java.lang.String,java.lang.Object> getNaturalIdValues()
public NaturalIdentifier set(java.lang.String property, java.lang.Object value)
property - The specific property namevalue - The value to usethis, for method chainingCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.