mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update Oracle
This commit is contained in:
@@ -821,7 +821,7 @@ namespace SqlSugar
|
||||
var maxLength = db.CurrentConnectionConfig.MoreSettings.MaxParameterNameLength;
|
||||
if (newName.Length > maxLength)
|
||||
{
|
||||
newName = name.GetNonNegativeHashCodeString() + "_" + addIndex;
|
||||
newName =(name.Substring(0,1)+name.GetNonNegativeHashCodeString() + "_" + addIndex);
|
||||
}
|
||||
appendSql = ReplaceSqlParameter(appendSql, parameter, newName);
|
||||
parameter.ParameterName = newName;
|
||||
|
Reference in New Issue
Block a user