Interface PostInsertIdentityPersister

All Superinterfaces:
AttributeSource, Bindable, Discriminable, EntityMappingType, EntityMutationTarget, EntityPersister, EntityValuedModelPart, FetchableContainer, FilterRestrictable, JdbcMappingContainer, Loadable, ManagedMappingType, MappingModelExpressible, MappingType, ModelPart, ModelPartContainer, MutationTarget<EntityTableMapping>, Restrictable, RootTableGroupProducer, SoftDeletableModelPart, TableGroupProducer, WhereRestrictable
All Known Implementing Classes:
AbstractEntityPersister, JoinedSubclassEntityPersister, SingleTableEntityPersister, UnionSubclassEntityPersister

@Deprecated(forRemoval=true, since="6.5") public interface PostInsertIdentityPersister extends EntityPersister
Deprecated, for removal: This API element is subject to removal in a future version.
Use EntityPersister instead.
A persister that may have an identity assigned by execution of a SQL INSERT.
Author:
Gavin King
  • Method Details

    • getIdentitySelectString

      String getIdentitySelectString()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: EntityPersister
      Get the database-specific SQL command to retrieve the last generated IDENTITY value.
      Specified by:
      getIdentitySelectString in interface EntityPersister
      Returns:
      The SQL command string
    • getIdentifierColumnNames

      String[] getIdentifierColumnNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getIdentifierColumnNames in interface EntityPersister
    • getSelectByUniqueKeyString

      String getSelectByUniqueKeyString(String propertyName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: EntityPersister
      Get a SQL select string that performs a select based on a unique key determined by the given property name.
      Specified by:
      getSelectByUniqueKeyString in interface EntityPersister
      Parameters:
      propertyName - The name of the property which maps to the column(s) to use in the select statement restriction.
      Returns:
      The SQL select string
    • getSelectByUniqueKeyString

      default String getSelectByUniqueKeyString(String[] propertyNames)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: EntityPersister
      Get a SQL select string that performs a select based on a unique key determined by the given property names.
      Specified by:
      getSelectByUniqueKeyString in interface EntityPersister
      Parameters:
      propertyNames - The names of the properties which maps to the column(s) to use in the select statement restriction.
      Returns:
      The SQL select string
    • getRootTableKeyColumnNames

      String[] getRootTableKeyColumnNames()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: EntityPersister
      The names of the primary key columns in the root table.
      Specified by:
      getRootTableKeyColumnNames in interface EntityPersister
      Returns:
      The primary key column names.