Interface Lockable

    • Method Detail

      • getRootTableName

        String getRootTableName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Locks are always applied to the "root table".
        Returns:
        The root table name
      • getRootTableAlias

        String getRootTableAlias​(String drivingAlias)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get the SQL alias this persister would use for the root table given the passed driving alias.
        Parameters:
        drivingAlias - The driving alias; or the alias for the table mapped by this persister in the hierarchy.
        Returns:
        The root table alias.
      • getRootTableIdentifierColumnNames

        String[] getRootTableIdentifierColumnNames()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Get the names of columns on the root table used to persist the identifier.
        Returns:
        The root table identifier column names.
      • getVersionColumnName

        String getVersionColumnName()
        Deprecated, for removal: This API element is subject to removal in a future version.
        For versioned entities, get the name of the column (again, expected on the root table) used to store the version values.
        Returns:
        The version column name.