SQL Anywhere does not support FOR UPDATE NOWAIT. However, the intent is to acquire pessimistic locks on the underlying rows; with NHibernate one can accomplish this through setting the BLOCKING connection option. Hence, with this API we lock rows in the cursor explicitly using INTENT row locks.

Namespace: NHibernate.Dialect
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public override string ForUpdateNowaitString { get; }
Visual Basic
Public Overrides ReadOnly Property ForUpdateNowaitString As String
	Get
Visual C++
public:
virtual property String^ ForUpdateNowaitString {
	String^ get () override;
}

See Also