Interface TableLockHintRenderer

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @SPI({USE,IMPLEMENT,SUPPLY}) public interface TableLockHintRenderer

Renders the SQL fragment used with a table-reference fragment to request a pessimistic lock. The translator owns placement of the fragment. For an ordinary named table reference, it is appended after the identification variable (table alias); union-table references may require the fragment to be pushed into each physical union member.

The returned fragment should include any leading whitespace required to separate it from the preceding SQL. An empty fragment indicates that no table lock hint is required.

Since:
8.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    A renderer for databases which do not use table lock hints.
  • Method Summary

    Modifier and Type
    Method
    Description
    Render the table lock hint for the given request.
  • Field Details

    • NONE

      static final TableLockHintRenderer NONE
      A renderer for databases which do not use table lock hints.
  • Method Details