Interface CrudMethodMetadata


public interface CrudMethodMetadata
Interface to abstract CrudMethodMetadata that provide the LockModeType to be used for query execution.
Author:
Oliver Gierke, Thomas Darimont, Christoph Strobl, Mark Paluch, Jens Schauder, Greg Turnquist, Yanming Zhou
  • Method Details

    • getLockModeType

      @Nullable jakarta.persistence.LockModeType getLockModeType()
      Returns the LockModeType to be used.
      Returns:
    • getQueryHints

      QueryHints getQueryHints()
      Returns all query hints in a list to be applied to queries executed for the CRUD method.
      Returns:
      Since:
      2.4
    • getQueryHintsForCount

      QueryHints getQueryHintsForCount()
      Returns all query hints in a list to be applied to queries executed for the CRUD method.
      Returns:
      Since:
      2.4
    • getComment

      @Nullable String getComment()
      Returns query comment to be applied to query.
      Returns:
      Since:
      3.0
    • getEntityGraph

      Optional<EntityGraph> getEntityGraph()
      Returns the EntityGraph to be used.
      Returns:
      Since:
      1.9
    • getMethod

      Method getMethod()
      Returns the Method to be used.
      Returns:
      Since:
      1.9