EntityPersister contract to add
operations required by the Hibernate Query Language
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: The alias used for "filter conditions" within the where clause.The root alias rootAlias)The alias used for any filter conditions (mapped where-fragments or enabled-filters). |
| public String[] | Returns: The ordered array of table names.Get the names of all tables used in the hierarchy (up and down) ordered such that deletes in the given order would not cause constraint violations. |
| public String[][] | getContraintOrderedTableKeyColumnClosure()
For each table specified in |
| public String | getDiscriminatorSQLValue()
Redeclares as abstract: org. |
| public String[] | getIdentifierColumnNames()
Redeclares org. |
| public String | getMappedSuperclass()
Redeclares as abstract: org. |
| public Queryable. | Returns: The property declarerThe property name. propertyPath)Determine whether the given property is declared by our mapped class, our super class, or one of our subclasses... |
| public String[][] | |
| public int | Returns: The number of the table to which the property is mapped.The name of the property. propertyPath)Given a property name, determine the number of the table which contains the column to which this property is mapped. |
| public String | getSubclassTableName(int
The index into the internal array. number)Get the name of the table with the given index from the internal array. |
| public DiscriminatorMetadata | Returns: The entity discriminator metadata
Deprecated
as a consequence of
Retrieve the information needed to properly deal with this entity's discriminator
in a query.
DiscriminatorMetadata being deprecated.
|
| public boolean | isAbstract()
Redeclares org. |
| public boolean | isExplicitPolymorphism()
Redeclares org. |
| public default boolean | Returns: True if the inheritance hierarchy is spread across multiple tables; false otherwise.
Deprecated
since 6.0. Use
Is the inheritance hierarchy described by this persister contained across
multiple tables?
EntityPersister#getSqmMultiTableMutationStrategy instead
|
| public boolean |
| generateFilterConditionAlias | back to summary |
|---|---|
| public String generateFilterConditionAlias(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 inheritance mapping strategy. | |
| getConstraintOrderedTableNameClosure | back to summary |
|---|---|
| public 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 constraint violations.
| |
| getContraintOrderedTableKeyColumnClosure | back to summary |
|---|---|
| public String[][] getContraintOrderedTableKeyColumnClosure() For each table specified in
The first dimension here corresponds to the table indexes returned in
The second dimension should have the same length across all the elements in the first dimension. If not, that would be a problem ;) | |
| getDiscriminatorSQLValue | back to summary |
|---|---|
| public String getDiscriminatorSQLValue() Redeclares as abstract: org. Get the discriminator value for this particular concrete subclass, as a string that may be embedded in a select statement | |
| getIdentifierColumnNames | back to summary |
|---|---|
| public String[] getIdentifierColumnNames() Redeclares org. Get the names of columns used to persist the identifier | |
| getMappedSuperclass | back to summary |
|---|---|
| public String getMappedSuperclass() Redeclares as abstract: org. Get the class that this class is mapped as a subclass of - not necessarily the direct superclass | |
| getSubclassPropertyDeclarer | back to summary |
|---|---|
| public Queryable. 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. | |
| getSubclassPropertyFormulaTemplateClosure | back to summary |
|---|---|
| public String[][] getSubclassPropertyFormulaTemplateClosure() | |
| getSubclassPropertyTableNumber | back to summary |
|---|---|
| public int getSubclassPropertyTableNumber(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
| |
| getSubclassTableName | back to summary |
|---|---|
| public String getSubclassTableName(int number) Get the name of the table with the given index from the internal array.
| |
| getTypeDiscriminatorMetadata | back to summary |
|---|---|
| public DiscriminatorMetadata getTypeDiscriminatorMetadata()
Deprecated as a consequence of Retrieve the information needed to properly deal with this entity's discriminator in a query.
| |
| isAbstract | back to summary |
|---|---|
| public boolean isAbstract() Redeclares org. Is this an abstract class?
| |
| isExplicitPolymorphism | back to summary |
|---|---|
| public boolean isExplicitPolymorphism() Redeclares org. Is this class explicit polymorphism only? | |
| isMultiTable | back to summary |
|---|---|
| public default boolean isMultiTable()
Is the inheritance hierarchy described by this persister contained across multiple tables?
| |
| isVersionPropertyInsertable | back to summary |
|---|---|
| public boolean isVersionPropertyInsertable() Is the version property included in insert statements? | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Queryable. | |
| private final String | |
| public static final Queryable. | |
| public static final Queryable. |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| CLASS | back to summary |
|---|---|
| public static final Queryable. | |
| name | back to summary |
|---|---|
| private final String name | |
| SUBCLASS | back to summary |
|---|---|
| public static final Queryable. | |
| SUPERCLASS | back to summary |
|---|---|
| public static final Queryable. | |
| Declarer | back to summary |
|---|---|
| public Declarer(String name) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |