Methods Summary |
---|
public java.lang.String | generateFilterConditionAlias(java.lang.String rootAlias)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.
|
public java.lang.String[] | getConstraintOrderedTableNameClosure()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.
|
public java.lang.String[][] | getContraintOrderedTableKeyColumnClosure()For each table specified in {@link #getConstraintOrderedTableNameClosure()}, get
the columns that define the key between the various hierarchy classes.
The first dimension here corresponds to the table indexes returned in
{@link #getConstraintOrderedTableNameClosure()}.
The second dimension should have the same length across all the elements in
the first dimension. If not, that'd be a problem ;)
|
public java.lang.String | getDiscriminatorSQLValue()Get the discriminator value for this particular concrete subclass,
as a string that may be embedded in a select statement
|
public java.lang.String[] | getIdentifierColumnNames()Get the names of columns used to persist the identifier
|
public java.lang.String | getMappedSuperclass()Get the class that this class is mapped as a subclass of -
not necessarily the direct superclass
|
public org.hibernate.persister.entity.Queryable$Declarer | getSubclassPropertyDeclarer(java.lang.String propertyPath)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. {@link #getSubclassPropertyTableNumber}
|
public int | getSubclassPropertyTableNumber(java.lang.String propertyPath)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 {@link #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 {@link #getSubclassTableName}...
|
public java.lang.String | getSubclassTableName(int number)Get the name of the table with the given index from the internal
array.
|
public java.lang.String | getTemporaryIdTableDDL()Get the appropriate DDL command for generating the temporary table to
be used to (potentially) store id values when performing bulk update/deletes.
|
public java.lang.String | getTemporaryIdTableName()Get the name of the temporary table to be used to (potentially) store id values
when performing bulk update/deletes.
|
public java.lang.String | identifierSelectFragment(java.lang.String name, java.lang.String suffix)Given a query alias and an identifying suffix, render the intentifier select fragment.
|
public boolean | isAbstract()Is this an abstract class?
|
public boolean | isExplicitPolymorphism()Is this class explicit polymorphism only?
|
public boolean | isMultiTable()Is the inheritence hierarchy described by this persister contained across
multiple tables?
|
public boolean | isVersionPropertyInsertable()Is the version property included in insert statements?
|
public java.lang.String | propertySelectFragment(java.lang.String alias, java.lang.String suffix, boolean allProperties)Given a query alias and an identifying suffix, render the property select fragment.
|