MySql.Data does not support preparing of commands.

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

Syntax

C#
protected override bool SupportsPreparingCommands { get; }
Visual Basic
Protected Overrides ReadOnly Property SupportsPreparingCommands As Boolean
	Get
Visual C++
protected:
virtual property bool SupportsPreparingCommands {
	bool get () override;
}

Field Value

falseFalsefalsefalse (False in Visual Basic) - it is not supported.

Remarks

With the Gamma MySql.Data provider it is throwing an exception with the message "Expected End of data packet" when a select command is prepared.

See Also