diff --git a/Src/Asp.Net/SqlSugar/Realization/Oracle/DbBind/OracleDbBind.cs b/Src/Asp.Net/SqlSugar/Realization/Oracle/DbBind/OracleDbBind.cs index 42fb2ccbc..4bc548857 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Oracle/DbBind/OracleDbBind.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Oracle/DbBind/OracleDbBind.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -111,12 +111,12 @@ namespace SqlSugar new KeyValuePair("timestamp",CSharpDataType.DateTime), new KeyValuePair("timestamp with local time zone",CSharpDataType.DateTime), new KeyValuePair("timestamp with time zone",CSharpDataType.DateTime), - new KeyValuePair("timestamp with time zone",CSharpDataType.DateTime), new KeyValuePair("float",CSharpDataType.@decimal), new KeyValuePair("blob",CSharpDataType.byteArray), new KeyValuePair("long raw",CSharpDataType.byteArray), + new KeyValuePair("longraw",CSharpDataType.byteArray), new KeyValuePair("raw",CSharpDataType.byteArray), new KeyValuePair("bfile",CSharpDataType.byteArray), new KeyValuePair("varbinary",CSharpDataType.byteArray) }; diff --git a/Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs b/Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs index 05c7bdeb9..cd6684702 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Oracle/OracleProvider.cs @@ -1,4 +1,4 @@ -using Oracle.ManagedDataAccess.Client; +using Oracle.ManagedDataAccess.Client; using System; using System.Collections.Generic; using System.Data; @@ -87,6 +87,7 @@ namespace SqlSugar sqlCommand.BindByName = true; sqlCommand.CommandType = this.CommandType; sqlCommand.CommandTimeout = this.CommandTimeOut; + sqlCommand.InitialLONGFetchSize = -1; if (this.Transaction != null) { sqlCommand.Transaction = (OracleTransaction)this.Transaction;