NPersistence Reference Guide

Overload List

NameDescription
SetLockMode(LockModeType)
Set the lock mode type to be used for the query execution.
SetLockMode(LockModeType)
Set the lock mode type to be used for the query execution. lock mode

Return Value

the same query instance if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query

See Also