| org.hibernate.persister.entity.Queryable
All known Subclasses: org.hibernate.persister.entity.AbstractEntityPersister,
Queryable | public interface Queryable extends Loadable,PropertyMapping,Joinable(Code) | | Extends the generic EntityPersister contract to add
operations required by the Hibernate Query Language
author: Gavin King |
Inner Class :public static class Declarer | |
generateFilterConditionAlias | public String generateFilterConditionAlias(String rootAlias)(Code) | | The alias used for any filter conditions (mapped where-fragments or
enabled-filters).
This may or may not be different from the root alias depending upon the
inheritence mapping strategy.
Parameters: rootAlias - The root alias The alias used for "filter conditions" within the where clause. |
getConstraintOrderedTableNameClosure | public String[] getConstraintOrderedTableNameClosure()(Code) | | Get the names of all tables used in the hierarchy (up and down) ordered such
that deletes in the given order would not cause contraint violations.
The ordered array of table names. |
getDiscriminatorSQLValue | public String getDiscriminatorSQLValue()(Code) | | Get the discriminator value for this particular concrete subclass,
as a string that may be embedded in a select statement
|
getIdentifierColumnNames | public String[] getIdentifierColumnNames()(Code) | | Get the names of columns used to persist the identifier
|
getMappedSuperclass | public String getMappedSuperclass()(Code) | | Get the class that this class is mapped as a subclass of -
not necessarily the direct superclass
|
getSubclassPropertyDeclarer | public Declarer getSubclassPropertyDeclarer(String propertyPath)(Code) | | Determine whether the given property is declared by our
mapped class, our super class, or one of our subclasses...
Note: the method is called 'subclass property...' simply
for consistency sake (e.g.
Queryable.getSubclassPropertyTableNumber Parameters: propertyPath - The property name. The property declarer |
getSubclassPropertyTableNumber | public int getSubclassPropertyTableNumber(String propertyPath)(Code) | | Given a property name, determine the number of the table which contains the column
to which this property is mapped.
Note that this is not relative to the results from
Queryable.getConstraintOrderedTableNameClosure() .
It is relative to the subclass table name closure maintained internal to the persister (yick!).
It is also relative to the indexing used to resolve
Queryable.getSubclassTableName ...
Parameters: propertyPath - The name of the property. The nunber of the table to which the property is mapped. |
getSubclassTableName | public String getSubclassTableName(int number)(Code) | | Get the name of the table with the given index from the internal
array.
Parameters: number - The index into the internal array. |
getTemporaryIdTableDDL | public String getTemporaryIdTableDDL()(Code) | | Get the appropriate DDL command for generating the temporary table to
be used to (potentially) store id values when performing bulk update/deletes.
The appropriate temporary table creation command. |
getTemporaryIdTableName | public String getTemporaryIdTableName()(Code) | | Get the name of the temporary table to be used to (potentially) store id values
when performing bulk update/deletes.
The appropriate temporary table name. |
identifierSelectFragment | public String identifierSelectFragment(String name, String suffix)(Code) | | Given a query alias and an identifying suffix, render the intentifier select fragment.
|
isAbstract | public boolean isAbstract()(Code) | | Is this an abstract class?
|
isExplicitPolymorphism | public boolean isExplicitPolymorphism()(Code) | | Is this class explicit polymorphism only?
|
isMultiTable | public boolean isMultiTable()(Code) | | Is the inheritence hierarchy described by this persister contained across
multiple tables?
True if the inheritence hierarchy is spread across multiple tables; false otherwise. |
isVersionPropertyInsertable | public boolean isVersionPropertyInsertable()(Code) | | Is the version property included in insert statements?
|
propertySelectFragment | public String propertySelectFragment(String alias, String suffix, boolean allProperties)(Code) | | Given a query alias and an identifying suffix, render the property select fragment.
|
|
|