The DSL API supports all of PostgreSQL's lock modes (`UPDATE`, `NO KEY UPDATE`, `SHARE`, and `KEY SHARE`) and now also supports the `OF` clauses and `WAIT`, `NOWAIT`, and `SKIP LOCKED` clauses for all lock modes. Previously the DSL API did not support these clauses for the `SHARE` mode and for all other modes the rendered SQL would always end up using the `UPDATE` lock mode. Whether a particular lock mode and clause combination is supported, depends on the SQL dialect. On the `SelectQuery` API the methods `setForUpdate[Of|Wait|NoWait|SkipLocked]()` have all been marked as deprecated in favor of the new methods `setForLockMode[Of|Wait|NoWait|SkipLocked]()`.
227 KiB
227 KiB