Interface EntityLockTarget


@SPI(USE) public interface EntityLockTarget
Stable entity metadata available while selecting a locking strategy.
Since:
8.0
  • Method Summary

    Modifier and Type
    Method
    Description
    The Hibernate entity name.
    boolean
    Whether the entity has an optimistic-lock version attribute.
  • Method Details

    • entityName

      String entityName()
      The Hibernate entity name.
    • versioned

      boolean versioned()
      Whether the entity has an optimistic-lock version attribute.