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 Summary
Modifier and TypeMethodDescriptionReturns query comment to be applied to query.Returns theEntityGraph
to be used.jakarta.persistence.LockModeType
Returns theLockModeType
to be used.Returns theMethod
to be used.Returns all query hints in a list to be applied to queries executed for the CRUD method.Returns all query hints in a list to be applied to queries executed for the CRUD method.
-
Method Details
-
getLockModeType
Returns theLockModeType
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
Returns query comment to be applied to query.- Returns:
- Since:
- 3.0
-
getEntityGraph
Optional<EntityGraph> getEntityGraph()Returns theEntityGraph
to be used.- Returns:
- Since:
- 1.9
-
getMethod
Method getMethod()Returns theMethod
to be used.- Returns:
- Since:
- 1.9
-