ObjectDB ObjectDB

getLockMode() - JPA Query's method

Get the current lock mode for the query.
Returns:
lock mode
Throws:
IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query
Since:
JPA 2.0