Where is the string getting truncated out of interest?

Sent from my Android phone.

On 23 Sep 2010 18:31, "Fabio Maulo" <[email protected]> wrote:

Inherit from SqlClientDriver and do this
public override IDbCommand GenerateCommand(CommandType type, SqlString
sqlString, SqlType[] parameterTypes)
 {
IDbCommand command = base.GenerateCommand(type, sqlString, parameterTypes);
 if (IsPrepareSqlEnabled)
{
SetParameterSizes(command.Parameters, parameterTypes);
 }
return command;
}

Then you will have a way to enable/disable the feature using the
"prepare_sql" property of session-factory config.



On Thu, Sep 23, 2010 at 12:15 PM, Maxim Filimonov <[email protected]>
wrote:
>
> Dear Fabio,
> T...
-- 
Fabio Maulo

-- 
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To po...

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to