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 theEntityGraphto be used.jakarta.persistence.LockModeTypeReturns theLockModeTypeto be used.Returns theMethodto 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 theLockModeTypeto 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 theEntityGraphto be used.- Returns:
- Since:
- 1.9
-
getMethod
Method getMethod()Returns theMethodto be used.- Returns:
- Since:
- 1.9
-