Interface Lockable

    • Method Detail

      • getRootTableName

        java.lang.String getRootTableName()
        Locks are always applied to the "root table".
        Returns:
        The root table name
      • getRootTableAlias

        java.lang.String getRootTableAlias​(java.lang.String drivingAlias)
        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

        java.lang.String[] getRootTableIdentifierColumnNames()
        Get the names of columns on the root table used to persist the identifier.
        Returns:
        The root table identifier column names.
      • getVersionColumnName

        java.lang.String getVersionColumnName()
        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.