Expected LOB usage pattern is such that I can perform an insert via prepared statement with a parameter binding for a LOB value without crazy casting to JDBC driver implementation-specific classes...

Part of the trickiness here is the fact that this is largely driver dependent. For example, Oracle (which is notoriously bad with LOB support in their drivers historically) actually does a pretty good job with LOB support as of the 10.2.x versions of their drivers...

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

Syntax

C#
public virtual bool SupportsExpectedLobUsagePattern { get; }
Visual Basic
Public Overridable ReadOnly Property SupportsExpectedLobUsagePattern As Boolean
	Get
Visual C++
public:
virtual property bool SupportsExpectedLobUsagePattern {
	bool get ();
}

Return Value

True if normal LOB usage patterns can be used with this driver; false if driver-specific hookiness needs to be applied.

See Also