You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Dapper with Firebird for some time and its like a charm. Unfortunatly I am facing a problem, when I try to Insert a record with text into a blob, when the length of the text > 4000.
I loaded the lastest version of Dapper and the Firebird .net provider and included the debug symbols.
.net 4.8
Dapper 2.1.35
Firebird .net provider 10.3.1
When I hit this line in my code baustelle.BaustellenID = fbCon.QuerySingle(insertorupdateBaustellen, baustelle); I step into the Daper code.
The final exception is this:
at FirebirdSql.Data.FirebirdClient.FbParameter.set_Size(Int32 value) in //src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbParameter.cs:line 77
at Dapper.CommandDefinition.SetupCommand(IDbConnection cnn, Action2 paramReader) in /_/Dapper/CommandDefinition.cs:line 144 at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1271 at Dapper.SqlMapper.QuerySingle[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable1 commandTimeout, Nullable`1 commandType) in //Dapper/SqlMapper.cs:line 878
at fbTest.Program.Main(String[] args) in D:\Software Test\fbTest\Program.cs:line 70
When I use ADO standard method with command and parameters it works without problems.
Check your library version, and try updating
To help, we're going to need to know your library version. If it isn't the latest: go do that - it might
fix the problem, and even if it doesn't: you're going to need to update if we find a problem and fix it,
so you might as well get ready for that now.
How to reproduce: Insert a new record into the database with a text for the blob, where the text has a length > 4000
The actual behavoir: exception as described above
The needed behavior: successfull insert
Thanks
Niko
The text was updated successfully, but these errors were encountered:
Hello,
I am using Dapper with Firebird for some time and its like a charm. Unfortunatly I am facing a problem, when I try to Insert a record with text into a blob, when the length of the text > 4000.
I loaded the lastest version of Dapper and the Firebird .net provider and included the debug symbols.
When I hit this line in my code baustelle.BaustellenID = fbCon.QuerySingle(insertorupdateBaustellen, baustelle); I step into the Daper code.
The final exception is this:
at FirebirdSql.Data.FirebirdClient.FbParameter.set_Size(Int32 value) in //src/FirebirdSql.Data.FirebirdClient/FirebirdClient/FbParameter.cs:line 77
at Dapper.CommandDefinition.SetupCommand(IDbConnection cnn, Action
2 paramReader) in /_/Dapper/CommandDefinition.cs:line 144 at Dapper.SqlMapper.QueryRowImpl[T](IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) in /_/Dapper/SqlMapper.cs:line 1271 at Dapper.SqlMapper.QuerySingle[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable
1 commandTimeout, Nullable`1 commandType) in //Dapper/SqlMapper.cs:line 878at fbTest.Program.Main(String[] args) in D:\Software Test\fbTest\Program.cs:line 70
When I use ADO standard method with command and parameters it works without problems.
Check your library version, and try updating
To help, we're going to need to know your library version. If it isn't the latest: go do that - it might
fix the problem, and even if it doesn't: you're going to need to update if we find a problem and fix it,
so you might as well get ready for that now.
How to reproduce: Insert a new record into the database with a text for the blob, where the text has a length > 4000
The actual behavoir: exception as described above
The needed behavior: successfull insert
Thanks
Niko
The text was updated successfully, but these errors were encountered: