lockingMode

Queries or sets the database connection's locking mode.

This mode determines the file-level locking behavior.

  • LockingMode.NORMAL: (Default) Locks are acquired per-transaction, allowing multiple connections.

  • LockingMode.EXCLUSIVE: The connection holds an exclusive lock, preventing other connections. This can improve performance by reducing lock overhead.

This setting is connection-specific.

Author

MOHAMMAD AZIM ANSARI

See also