Follow up locking occurs:
- when requesting locking against a native-SQL query
- in cases where paging and locking have been requested together and the Dialect does not support both in the same JDBC query.
Currently, when follow-on locking is used only the main lock-mode is used (and it is always used for all returned results). Eventually the plan is to support the alias-specific lock-modes in follow-up locking as well. But for the time being it is not supported and we should warn the user in these cases.
|