mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-25 10:19:17 +08:00
Oracle no parameter insert support clob
This commit is contained in:
@@ -142,7 +142,14 @@ namespace SqlSugar
|
||||
}
|
||||
else if (type == UtilConstants.StringType || type == UtilConstants.ObjType)
|
||||
{
|
||||
return N + "'" + value.ToString().ToSqlFilter() + "'";
|
||||
if (value.ToString().Length > 2000)
|
||||
{
|
||||
return "to_clob('" + value.ToString().ToSqlFilter() + "')";
|
||||
}
|
||||
else
|
||||
{
|
||||
return N + "'" + value.ToString().ToSqlFilter() + "'";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user