Subject | FirebirdClient 4.6.1.0 ADO.NET provider throwing exception if string length exceeds varchar max size |
---|---|
Author | Pawel Seredziński 'Selmax' |
Post date | 2015-03-12T18:29:02Z |
Hello,
I was using FirebirdClient released on 2010-02-14.
Recently, I've tried to use latest version (4.6.1.0 released on January
2015).
The big difference is that latest version throws exception if string
length exceeds column varchar max size instead of silently truncating
the string.
Is there any way to use the latest version and "turn off" throwing
exceptions?
Manual checking of fields lengths would take huge amount of work for
this app.
Best regards,
Paweł Seredziński
I was using FirebirdClient released on 2010-02-14.
Recently, I've tried to use latest version (4.6.1.0 released on January
2015).
The big difference is that latest version throws exception if string
length exceeds column varchar max size instead of silently truncating
the string.
Is there any way to use the latest version and "turn off" throwing
exceptions?
Manual checking of fields lengths would take huge amount of work for
this app.
Best regards,
Paweł Seredziński