v3.2.692-preview20230314 - 修复 Oracle Merge Into byte[] 参数化判断 bug;#1459

This commit is contained in:
2881099
2023-03-14 21:54:07 +08:00
parent a6c1981bd6
commit 9a15a9781e
36 changed files with 65 additions and 37 deletions

View File

@ -122,7 +122,7 @@ namespace FreeSql.Custom.Oracle
var valueBytes = value as byte[];
if (valueBytes != null)
{
if (valueBytes.Length < 4000) return $"hextoraw('{CommonUtils.BytesSqlRaw(valueBytes)}')";
if (valueBytes.Length < 2000) return $"hextoraw('{CommonUtils.BytesSqlRaw(valueBytes)}')";
var pam = AppendParamter(specialParams, $"p_{specialParams?.Count}{specialParamFlag}", col, type, value);
return pam.ParameterName;
}