Spring Data JPA

org.springframework.data.jpa.repository.support
Interface CrudMethodMetadata


public interface CrudMethodMetadata

Interface to abstract CrudMethodMetadata that provide the LockModeType to be used for query execution.

Author:
Oliver Gierke

Method Summary
 javax.persistence.LockModeType getLockModeType()
          Returns the LockModeType to be used.
 Map<String,Object> getQueryHints()
          Returns all query hints to be applied to queries executed for the CRUD method.
 

Method Detail

getLockModeType

javax.persistence.LockModeType getLockModeType()
Returns the LockModeType to be used.

Returns:

getQueryHints

Map<String,Object> getQueryHints()
Returns all query hints to be applied to queries executed for the CRUD method.

Returns:

Spring Data JPA

Copyright © 2011-2014-2014 Pivotal Software, Inc.. All Rights Reserved.