-
Notifications
You must be signed in to change notification settings - Fork 892
Closed
Description
批量插入表格有BLOB SUB_TYPE TEXT字段且该字段值长度很长的数据会出现异常,
Exception: FirebirdSql.Data.FirebirdClient.FbException (0x80004005): Dynamic SQL Error SQL error code = -104 Unexpected end of command - line -2046740952, column -2046740952 ---> FirebirdSql.Data.Common.IscException: Dynamic SQL Error SQL error code = -104 Unexpected end of command - line -2046740952, column -2046740952
问题描述及重现代码:
如果有BLOB SUB_TYPE TEXT字段的数据,最好使用 参数化SQL 命令。
我看了FreeSql.Firebird.Curd.FirebirdInsert.cs的源码,我觉得可能这个地方需要修改
if (_noneParameter == false) base.NoneParameter(_source?.Count > 1);数据库版本
Firebird5.0
安装的Nuget包
FreeSql 3.5.215
FreeSql.Provider.Firebird 3.5.215
.net framework/. net core? 及具体版本
.NET8
Metadata
Metadata
Assignees
Labels
No labels