| Modifier and Type | Method and Description |
|---|---|
| public String[] | Returns: The column namesThe property path to resolve propertyPath, Criteria The criteria criteria)Get the names of the columns mapped by a property path; if the property path is not found in criteria, try the "outer" query. |
| public String | |
| public String | |
| public String[] | Returns: The column namesThe property path to resolve propertyPath, Criteria The criteria criteria)Resolve a property path to the names of the columns it maps to. |
| public String[] | Returns: The column namesThe criteria criteria, String The property path to resolve or projection alias propertyPath)Get the names of the columns mapped by a property path. |
| public String | Returns: The entity nameThe criteria criteria)Get the entity name of an entity |
| public String | Returns: The entity nameThe criteria criteria, String The property path that (supposedly) references an entity propertyPath)Get the entity name of an entity, taking into account the qualifier of the property path |
| public SessionFactoryImplementor | Returns: The SessionFactory
Deprecated
as a consequence of
Provides access to the SessionFactory
SessionFactoryImplementor being deprecated.
|
| public default String[] | |
| public default Type | |
| public default TypedValue | |
| public String[] | Returns: The identifier column namesThe criteria criteria)Get the identifier column names of this entity |
| public Type | Returns: The identifier type.The criteria criteria)Get the identifier type of this entity |
| public String | Returns: The simple property nameThe (possibly qualified) property name propertyName)Get the property name, given a possibly qualified property name |
| public String | Returns: The SQL table alias for the given criteriaThe criteria criteria)Get the root table alias of an entity |
| public String | Returns: The SQL table alias for the given criteriaThe criteria criteria, String The property path whose SQL alias should be returned. propertyPath)Get the root table alias of an entity, taking into account the qualifier of the property path |
| public Type | |
| public TypedValue | Returns: The TypedValueThe criteria whose identifier is referenced. criteria, Object The identifier value value)Build a TypedValue for the given identifier value. |
| public TypedValue | Returns: The TypedValueThe criteria query criteria, String The property path/alias to resolve to type. propertyPath, Object The value value)Build a typed-value for the property/value combo. |
| public Type | Returns: The typeThe criteria criteria, String The property path to resolve or projection alias propertyPath)Get the type of a property path. |
| findColumns | back to summary |
|---|---|
| public String[] findColumns(String propertyPath, Criteria criteria) throws HibernateException Get the names of the columns mapped by a property path; if the property path is not found in criteria, try the "outer" query. Projection aliases are ignored.
| |
| generateSQLAlias | back to summary |
|---|---|
| public String generateSQLAlias() Generate a unique SQL alias
| |
| getColumn | back to summary |
|---|---|
| public String getColumn(Criteria criteria, String propertyPath) throws HibernateException Resolve a property path to the name of the column it maps to. Ignores projection aliases.
| |
| getColumns | back to summary |
|---|---|
| public String[] getColumns(String propertyPath, Criteria criteria) throws HibernateException Resolve a property path to the names of the columns it maps to. Ignores projection aliases
| |
| getColumnsUsingProjection | back to summary |
|---|---|
| public String[] getColumnsUsingProjection(Criteria criteria, String propertyPath) throws HibernateException Get the names of the columns mapped by a property path. Here, the property path can refer to a projection alias.
| |
| getEntityName | back to summary |
|---|---|
| public String getEntityName(Criteria criteria) Get the entity name of an entity | |
| getEntityName | back to summary |
|---|---|
| public String getEntityName(Criteria criteria, String propertyPath) Get the entity name of an entity, taking into account the qualifier of the property path | |
| getFactory | back to summary |
|---|---|
| public SessionFactoryImplementor getFactory()
Deprecated as a consequence of Provides access to the SessionFactory
| |
| getForeignKeyColumns | back to summary |
|---|---|
| public default String[] getForeignKeyColumns(Criteria criteria, String associationPropertyName) | |
| getForeignKeyType | back to summary |
|---|---|
| public default Type getForeignKeyType(Criteria criteria, String associationPropertyName) | |
| getForeignKeyTypeValue | back to summary |
|---|---|
| public default TypedValue getForeignKeyTypeValue(Criteria criteria, String associationPropertyName, Object value) | |
| getIdentifierColumns | back to summary |
|---|---|
| public String[] getIdentifierColumns(Criteria criteria) Get the identifier column names of this entity | |
| getIdentifierType | back to summary |
|---|---|
| public Type getIdentifierType(Criteria criteria) Get the identifier type of this entity | |
| getPropertyName | back to summary |
|---|---|
| public String getPropertyName(String propertyName) Get the property name, given a possibly qualified property name | |
| getSQLAlias | back to summary |
|---|---|
| public String getSQLAlias(Criteria criteria) Get the root table alias of an entity | |
| getSQLAlias | back to summary |
|---|---|
| public String getSQLAlias(Criteria criteria, String propertyPath) Get the root table alias of an entity, taking into account the qualifier of the property path | |
| getType | back to summary |
|---|---|
| public Type getType(Criteria criteria, String propertyPath) throws HibernateException Get the type of a property path.
| |
| getTypedIdentifierValue | back to summary |
|---|---|
| public TypedValue getTypedIdentifierValue(Criteria criteria, Object value) Build a TypedValue for the given identifier value.
| |
| getTypedValue | back to summary |
|---|---|
| public TypedValue getTypedValue(Criteria criteria, String propertyPath, Object value) throws HibernateException Build a typed-value for the property/value combo. Essentially the same as manually building a TypedValue
using the given value and the resolved type using
| |
| getTypeUsingProjection | back to summary |
|---|---|
| public Type getTypeUsingProjection(Criteria criteria, String propertyPath) throws HibernateException Get the type of a property path. Here, the property path can refer to a projection alias.
| |