X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.Data.OracleClient%2FChangeLog;h=cc53864b8241a3798633ca0408046bde8f04b8d6;hb=f17553541b6a66c40f5a8af59a0c9dedbaf88732;hp=c73612a33a05c5fe30e5b216d90423c9c93a93e6;hpb=dc0406b44dd226e589ec322fb2aa38daead3430b;p=mono.git diff --git a/mcs/class/System.Data.OracleClient/ChangeLog b/mcs/class/System.Data.OracleClient/ChangeLog index c73612a33a0..cc53864b824 100644 --- a/mcs/class/System.Data.OracleClient/ChangeLog +++ b/mcs/class/System.Data.OracleClient/ChangeLog @@ -1,23 +1,227 @@ +2006-09-12 Boris Kirzner + + * run-tests.test.bat: small fixes for TARGET_JVM test scripts. + +2006-09-13 Leszek Ciesielski + + * OracleCommand.cs + * OracleParameter.cs : fix for bug 77592 + +2006-09-12 Boris Kirzner + + * run-tests.test.bat: rework logging for TARGET_JVM tests. + +2006-09-12 Leszek Ciesielski + + * OracleLob.cs : fix for bug 78898 + +2006-09-11 Leszek Ciesielski + + * OracleCommand.cs : fix for bug 78765 and 79284 + * OracleParameter.cs : fix for bug 78509 and 79284 + * README.tests : New : information about running on-line tests from + Test/System.Data.OracleClient + * System.Data.OracleClient_test_default.dll.config.example : New : Example configuration + for on-line tests from Test/System.Data.OracleClient + * OracleDataReader.cs : fix for bug 79284 + * OracleConnection.cs : fix for bug 79284 + * OciDefineHandle.cs : fix for bug 79284 + +2006-08-21 Boris Kirzner + + * run-tests.test.bat: fixes for NET_2_0 tests run. + +2006-07-14 Senganal T + + * OraclePermission.cs : 2.0 Api fixes. + +2006-03-21 Boris Kirzner + * Mainsoft.Data.Jdbc.Providers.jvm: added TARGET_JVM directory + * System.Data.OracleClient.vmwcsproj: added OracleProvider.cs + +2006-03-13 Boris Kirzner + * run-tests.bat, run-tests.test.bat: added batch files for automated testing + support for TARGET_JVM. + +2006-03-10 Senganal T + + * System.Data.OracleClient.Oci/OciStatementHandle.cs : Get StatementType as a ushort value. + * System.Data.OracleClient.Oci/OciParameterDescriptor.cs : Get DataType as a ushort value. + +2006-01-02 Daniel Morgan + + * System.Data.OracleClient/OracleConnection.cs: dispose of the + connection string and other fields + + * Test/TestOracleClient.cs: tests for Intergrated Security + and Persist Secuirty Info connection string parameters + +2006-01-01 Daniel Morgan + + * System.Data.OracleClient/OracleConnection.cs: implement + support for connection parameter PERSIST SECURITY INFO and + correct what Clone() does + +2005-12-20 Daniel Morgan + + * System.Data.OracleClient/OracleConnectionPoolManager.cs + * System.Data.OracleClient/OracleConnectionPool.cs + * System.Data.OracleClient/OracleConnection.cs + * System.Data.OracleClient/OciGlue.cs + * System.Data.OracleClient.Oci/OciEnvironmentHandle.cs + * System.Data.OracleClient.Oci/OciErrorHandle.cs + * System.Data.OracleClient.Oci/OciServiceHandle.cs + * System.Data.OracleClient.Oci/OciSessionHandle.cs: modified + - support Integrated Security which is external authentication + - dispose of OCI handles properly to prevent SEGSIGV during finalization + at application exit + +2005-12-19 Daniel Morgan + + * System.Data.OracleClient/OracleConnectionPoolManager.cs + * System.Data.OracleClient/OracleConnectionPool.cs + * System.Data.OracleClient/OracleConnection.cs: for connection pooling, need to + dispose of any connection pools properly otherwise a SEGSIGV may happen trying + to detach from the server during finalization at exit of app + + * System.Data.OracleClient/OracleDataReader.cs: need to make sure statement and command + exists during dispose because they are set to null when closed + +2005-12-13 Daniel Morgan + + * System.Data.OracleClient/OracleParameter.cs: free + unmanaged resources after update of values + +2005-12-13 Daniel Morgan + + * System.Data.OracleClient.Oci/OciErrorHandle.cs patch + from "Hubert FONGARNAND" + - fix error handling for non-English locales. Bug# 76623. + +2005-12-13 Daniel Morgan + + * System.Data.OracleClient/OracleParameter.cs: patch + from "Hubert FONGARNAND" + - fix Timestamp when filling a DataSet. Bug# 76437. + +2005-12-13 Daniel Morgan + + * System.Data.OracleClient/OracleParameter.cs: patch + from "Hubert FONGARNAND" + - problems with OracleClob as input parameters + (when the input parameter is an OracleString, + mono crashes with a invalidcastexception) + - problems with OracleDateTime.Null, OracleString.Null + as input parameters (it works with DBNull.Value, + but it fails with those parameters) + +2005-12-11 Daniel Morgan + + * System.Data.OracleClient/OracleCommand.cs: when + binding the parameters, need to pass the parameter position + + * System.Data.OracleClient/OracleDataReader.cs: null the statement handle + after close + + * System.Data.OracleClient/OracleParameter.cs: add support for an output + parameter of Cursor to return an Oracle REF CURSOR as an OracleDataReader. + Zsolt Petrény - Zsolt.Petreny at sensenet.hu helped contribute to this patch. + + * Test/TestOracleClient.cs: add tests for REF CURSOR + + * System.Data.OracleClient.Oci/OciHandle.cs: + allow setting of the handle to free the previous handle if it existed + + * System.Data.OracleClient.Oci/OciCalls.cs: add OCI Bind functions + to bind a parameter using its position instead of its name + + * System.Data.OracleClient.Oci/OciDataType.cs: add an OCI type of + RSet for a REF CUROSR + + * System.Data.OracleClient.Oci/OciDataType.cs: add RSet (REF CURSOR) + + * System.Data.OracleClient.Oci/OciParameterDescriptor.cs: flush. REF + is not an RSet + + * System.Data.OracleClient.Oci/OciStatementHandle.cs: set up the result set + for a statement handle for a REF CURSOR + +2005-10-16 Gert Driesen + + * OracleException.cs: Pass message to base ctor, thereby avoiding + need to override Message property (and fixing API mismatch). Fixed + serialization by also adding code to si. + * OracleCommandBuilder.cs: Removed usage of DataSysDescription to + fix API mismatches. + +2005-08-10 Daniel Morgan + + * System.Data.OracleClient/OracleCommandBuilder.cs: update + based on changes Suresh did to OdbcCommandBuilder, SqlCommandBuilder, + and DbDataAdapter + + * System.Data.OracleClient/OracleParameter.cs + * System.Data.OracleClient.Oci/OciHandle.cs + * System.Data.OracleClient.Oci/OciCalls.cs + * System.Data.OracleClient.Oci/OciDataType.cs + * System.Data.OracleClient.Oci/OciParameterDescriptor.cs + * System.Data.OracleClient.Oci/OciStatementHandle.cs + * System.Data.OracleClient.Oci/OciDefineHandle.cs: with help + from Hubert FONGARNAND + implement TIMESTAMP support via OciDateTime descriptor + + * System.Data.OracleClient.dll.sources: add + OciDateTimeDescriptor.cs to build + + * System.Data.OracleClient.Oci/OciDateTimeDescriptor.cs: add new + file to support Oracle TIMESTAMP using OciDateTime descriptor + +2005-07-25 Daniel Morgan + + * System.Data.OracleClient/OracleParameter.cs: apply + patch from + Hubert FONGARNAND + to tranmit an input paramter that is a date in a binary format + instead of a character format to avoid culture + dependent problems + +2005-07-17 Daniel Morgan + + * System.Data.OracleClient/OracleDataReader.cs: + handle Owner (BaseSchemaName) correctly when + looking up KeyInfo on a table + +2005-07-17 Daniel Morgan + + * System.Data.OracleClient/OracleDataReader.cs: + should allow getting RecordsAffected property + after Close + +2005-07-17 Daniel Morgan + + * System.Data.OracleClient/OracleCommandBuilder.cs: + fix build for NET_2_0 profile + 2005-07-17 Daniel Morgan * System.Data.OracleClient/OracleCommandBuilder.cs: implemented a working OracleCommandBuilder based on - current SqlCommandBuilder + current SqlCommandBuilder - * System.Data.OracleClient/OracleCommand.cs: added + * System.Data.OracleClient/OracleCommand.cs: added placeholder for DeriveParamters * System.Data.OracleClient/OracleDataReader.cs: - - sometimes trying to get records affected + - sometimes trying to get records affected throws an exception - - set BaseColumnName to the ColumnName + - set BaseColumnName to the ColumnName in the Schema table if the command behavior is KeyInfo - only try to Read if there are rows to read * Test/OracleAdapterTest.cs: removed file because adapter tests added to TestOracleClient.cs - + * Test/TestOracleClient.cs: added tests - test ExecuteReader and records affected executing a Non-Query @@ -39,12 +243,12 @@ * System.Data.OracleClient.Oci/OciParameterDescriptor.cs: add method to convert a OciDataType enum to OracleDataType enum - + * System.Data.OracleClient.Oci/OciStatementHandle.cs: allow execute of DescribeOnly to support CommandBehavior.SchemaOnly * Test/OracleAdapterTest.cs: add file for adapter tests - + 2005-07-08 Daniel Morgan * System.Data.OracleClient/OracleParameter.cs @@ -60,46 +264,46 @@ 2005-03-06 Daniel Morgan - - Applied patch by Hubert FONGARNAND + - Applied patch by Hubert FONGARNAND - - Had to re-format according to mono style + - Had to re-format according to mono style and remove Console.WriteLines - - Made sure maxPoolSize and minPoolSize can be specified + - Made sure maxPoolSize and minPoolSize can be specified via the connection string, and that pooling can be disabled - if the next opened connection surpasses the max pool size, it waits - for a specified time in milliseconds, if it did not + for a specified time in milliseconds, if it did not get another connection from the connection pool, throw an InvalidOperationException for timeout expired - - * System.Data.OracleClient.dll.sources: add + + * System.Data.OracleClient.dll.sources: add OracleConnectionPool.cs to the build - - * System.Data.OracleClient/OracleConnection.cs: modified + + * System.Data.OracleClient/OracleConnection.cs: modified - add connection pooling to OracleClient - GetNlsInfo () was not using the passed handle, it was always a session handle - + * System.Data.OracleClient/OracleConnectionPoolManager.cs * System.Data.OracleClient/OracleConnectionPool.cs: added new file for connection pooling in OracleClient - + * System.Data.OracleClient/Test/TestOracleClient.cs: added tests for OracleClient connection pooling - + 2005-02-25 Daniel Morgan - * System.Data.OracleClient/OracleParameter.cs: modified + * System.Data.OracleClient/OracleParameter.cs: modified - fix for input parameters for strings, dates, - CLOBs, and other types + CLOBs, and other types to use OCIUnicodeToCharSet to convert the string to bytes that are in Oracle's character set - - fix for input parameters for BLOBs to + - fix for input parameters for BLOBs to use OciDataType.LongRaw instead of Long - - fix for Raw data type + - fix for Raw data type thanks to coneto@shaw.ca (Curtis) which fixes bug #72416 - and also fix "System.DataType" + and also fix "System.DataType" to "System.DateTime" in InferOracleType - + * Test/TestOracleClient.cs: handle byte[] from OracleDataReader.GetValue() 2005-02-20 Daniel Morgan @@ -107,7 +311,7 @@ * System.Data.OracleClient/OracleDataReader.cs: use ICovertible to convert data types for GetDateTime, GetInt64, GetInt32, GetFloat, GetDouble, GetDecimal. Fixes bug #53391. - + * Test/TestOracleClient.cs: updated OracleClient tests for these functions @@ -120,130 +324,130 @@ * System.Data.OracleClient/OracleDateTime.cs: modified - added functions for converting the date format strings between - OracleDateTime and DateTime based on + OracleDateTime and DateTime based on the NLS_DATE_FORMAT on the Oracle server - + * System.Data.OracleClient/OracleConnection.cs: implement internal function GetNlsInfo to get NLS info from the Oracle server for the session or environment. Also, implemented function GetSessionNlsDateFormat to get Oracle's NLS_DATE_FORMAT string - + * System.Data.OracleClient/OracleParameter.cs: for input parameters, fixed setting the parameter value to DBNull.Value and fixed the setting of a DateTime or OracleDateTime. Tried to fix CLOBs/BLOBs, but it is still a TODO. - + * Test/TestOracleClient.cs: updated the parameters test - + * System.Data.OracleClient.Oci/OciHandle.cs: implement internal function SetAttributeString - + * System.Data.OracleClient.Oci/OciCalls.cs: add DllImport OCIBindByNameBytes so byte array can be passed instead of IntPtr - for the value, add DllImport OCIDateTimeFromText, - and added DllImport for OCINlsGetInfo to get NLS info, + for the value, add DllImport OCIDateTimeFromText, + and added DllImport for OCINlsGetInfo to get NLS info, such as, NLS_DATE_FORMAT - + * System.Data.OracleClient.Oci/OciAttributeType.cs: added attribute for date format (not used) - + * System.Data.OracleClient.Oci/OciNlsServiceType.cs: added new file for an enum to hold NLS Service types which is to be used with GetNlsInfo() in OracleConnection - + * System.Data.OracleClient.dll.sources: added OciNlsServiceType.cs to the build - + 2005-02-07 Daniel Morgan - * System.Data.OracleClient/OracleDataReader.cs: add LONG + * System.Data.OracleClient/OracleDataReader.cs: add LONG to GetOracleValue to return an OracleString - + * System.Data.OracleClient.Oci/OciDefineHandle.cs: add - LONG VARCHAR support. See DefineLong () + LONG VARCHAR support. See DefineLong () for LAMESPEC about OCI * Test/TestOracleClient.cs: add LONG to Oracle tests - + 2005-01-09 Daniel Morgan * System.Data.OracleClient/OracleCommand.cs: set Command property on OciStatementHandle - + * System.Data.OracleClient/OracleConnection.cs: implement properties ServerVersion and DataSource, partially implement method ICloneable Clone, implement connection StateChange and InfoMessage events - + * System.Data.OracleClient/OciGlue.cs: add internal properties for OciSessionHandle and OciServerHandle - + * System.Data.OracleClient/OracleInfoMessageEventArgs.cs: implement - + * Test/TestOracleClient.cs: add new tests - - * System.Data.OracleClient.Oci/OciStatementHandle.cs: + + * System.Data.OracleClient.Oci/OciStatementHandle.cs: - add property for OracleCommand - patch from Joost Evertse for handling OCI_SUCCES_WITH_INFO during Fetch which indicates a Warning info message - + * System.Data.OracleClient.Oci/OciCalls.cs: added OCI call OCIServerVersion - + * System.Data.OracleClient.Oci/OciDefineHandle.cs: flush 2005-01-06 Daniel Morgan * Assembly/AssemblyInfo.cs: updated copyright - - * System.Data.OracleClient/OracleCommand.cs: add - connection string parameter "Server" and + + * System.Data.OracleClient/OracleCommand.cs: add + connection string parameter "Server" and removed "Database" to match .NET - - * System.Data.OracleClient/OracleLob.cs: handle + + * System.Data.OracleClient/OracleLob.cs: handle BLOBs and CLOBs that are not null, but are empty - - * System.Data.OracleClient/OracleCommand.cs: started + + * System.Data.OracleClient/OracleCommand.cs: started implementing Clone and ExecuteOracleScalar - + * System.Data.OracleClient/OracleDataReader.cs: modified - ms.net has GetDataTypeName return data types upper case - implement GetFieldType - - implement GetOracleValues, GetOracleValue, + - implement GetOracleValues, GetOracleValue, GetOracleDateTime, GetOracleNumber, GetOracleString - modified GetOracleLob based on internal change - - fix GetSchemaTable to return the correct "DataType" + - fix GetSchemaTable to return the correct "DataType" instead of always being System.String - - GetValue should return Blobs as a byte array and Clobs + - GetValue should return Blobs as a byte array and Clobs as a string - Test/TestOracleClient.cs: updated Mono Oracle Tests - - System.Data.OracleClient.Oci/OciCalls.cs: update + - System.Data.OracleClient.Oci/OciCalls.cs: update DllImports for data type, actual data size, and iters * System.Data.OracleClient.Oci/OciDefineHandle.cs: modified - added properties for precision and field type - - if ROWID is specified in a SELECT statement, handle - the data type of OciDataType.RowIdDescriptor by just + - if ROWID is specified in a SELECT statement, handle + the data type of OciDataType.RowIdDescriptor by just treating it as 10 byte string - do not free a HGlobal handle for a LOB since they do not get a HGlobal created for them - GetValue should return an OracleLob for BLOBs and CLOBs - + * System.Data.OracleClient.Oci/OciDataType.cs: make enum OciDataType to be uint - + * System.Data.OracleClient.Oci/OciParameterDescriptor.cs: - - add function to convert Oracle's data type name + - add function to convert Oracle's data type name to .net data type name - - * System.Data.OracleClient.Oci/OciRowIdDescriptor.cs: flush + + * System.Data.OracleClient.Oci/OciRowIdDescriptor.cs: flush 2004-09-14 Sebastien Pouliot * Makefile: Activate unit tests. - * System.Data.OracleClient_test.dll.sources: New. Sources for unit + * System.Data.OracleClient_test.dll.sources: New. Sources for unit tests. 2004-06-19 Gert Driesen @@ -274,14 +478,14 @@ Fixed namespace. * System.Data.OracleClient.dll.sources: Added OracleCommandBuilder.cs. - + 2004-05-26 Joerg Rosenkranz * System.Data.OracleClient.Oci/OciDefineHandle.cs: - Merged in a fix send by Rogerio Pereira Araujo - : Fixed a bug with NUMBER data type + Merged in a fix send by Rogerio Pereira Araujo + : Fixed a bug with NUMBER data type when no parameter is passed to OracleCommand. - + 2004-05-26 Gonzalo Paniagua Javier * System.Data.OracleClient/OracleType.cs: fixed values for Int16 and @@ -304,11 +508,11 @@ Changed statement encoding from UTF8 to OCIUnicodeToCharSet. * System.Data.OracleClient.Oci/OciDefineHandle.cs: Changed string encoding from UTF8 to OCICharSetToUnicode. - + 2004-05-21 Umadevi S * System.Data.OracleClient.Oci/OciDefineHandle.cs - Fixed bug 55030. Included checking for size - + Fixed bug 55030. Included checking for size + 2004-05-20 Atsushi Enomoto @@ -323,33 +527,33 @@ 2004-03-31 Joerg Rosenkranz * System.Data.OracleClient.Oci/OciDefineHandle.cs: - Changed DefineChar to allow retrieval of + Changed DefineChar to allow retrieval of multibyte characters (i.e. german umlauts). * System.Data.OracleClient.Oci/OciStatementHandle.cs: OciDefineHandles are now disposed in the Dispose function. - + 2004-02-09 Joerg Rosenkranz * System.Data.OracleClient/OracleLob.cs: Changed Erase() to call Erase(offset, amount) using zero based offset. - + 2004-01-26 Joerg Rosenkranz * System.Data.OracleClient.Oci/OciCalls.cs: - Changed binding of OciStmtPrepare from string + Changed binding of OciStmtPrepare from string to byte []. * System.Data.OracleClient.Oci/OciDefineHandle.cs: Character types are converted using UTF8 encoding. * System.Data.OracleClient.Oci/OciStatementHandle.cs: SQL statement to be prepared is converted to byte array using UTF8 encoding. - + 2004-01-09 Joerg Rosenkranz * System.Data.OracleClient.Oci/OciCalls.cs: - Added. It contains all external OCI calls which are + Added. It contains all external OCI calls which are removed from all other files. * System.Data.OracleClient/OciGlue.cs: Fix for #52699 (OCI not thread safe). @@ -384,7 +588,7 @@ * System.Data.OracleClient.Oci/OciServiceHandle.cs: * System.Data.OracleClient.Oci/OciSessionHandle.cs: Replaced OCI calls. - + 2003-12-16 Joerg Rosenkranz * System.Data.OracleClient/OracleCommand.cs: @@ -520,7 +724,7 @@ come. * Test/TestOracleClient.cs: New test for LOB added. - + 2003-02-20 Tim Coleman * System.Data.OracleClient/OracleBFile.cs: @@ -586,12 +790,12 @@ * System.Data.OracleClient.Oci/OciColumnInfo.cs * System.Data.OracleClient/OciGlue.cs * System.Data.OracleClient/OracleDataReader.cs: fixes - to display character data in SQL# command-line + to display character data in SQL# command-line and GTK# versions - + * Test/TestOracleClient.cs: updated test to include reading data via the OracleDataReader - + * System.Data.OracleClient/OracleConnection.cs: removed debug code @@ -645,18 +849,18 @@ * Test/Test.csproj * Test/Test.csproj.user: removed files because System.Data.OracleClient no longer uses a glue library - + * System.Data.OracleClient/TODOAttribute.cs: added file - + * System.Data.OracleClient/OracleCommand.cs * System.Data.OracleClient/OracleConnection.cs * System.Data.OracleClient/OciGlue.cs: modified - implement Disconnect and error handling (still need to create OracleException though) - + * Test/TestOracleClient.cs: clean up and accept - connection parameters from command line - + connection parameters from command line + 2003-02-11 Tim Coleman * System.Data.OracleClient.Oci/OciAttributeType.cs: * System.Data.OracleClient.Oci/OciCredentialType.cs: @@ -702,7 +906,7 @@ * System.Data.OracleClient/OracleCommand.cs: * System.Data.OracleClient/OracleConnection.cs: Add some more implementation - + 2003-02-08 Tim Coleman * System.Data.OracleClient/OciGlueLib_BCC_win32.make: * System.Data.OracleClient/OciGlueLib_MSVC_win32.make: @@ -720,49 +924,49 @@ * list * makefile.gnu: added files for linux build - - * System.Data.OracleClient.build: added file + + * System.Data.OracleClient.build: added file for windows build - + * .cvsignore: added file for cvs to ignore files * System.Data.OracleClient/OciGlue.cs * System.Data.OracleClient/ociglue.h - * System.Data.OracleClient/ociglue.c: code clean up + * System.Data.OracleClient/ociglue.c: code clean up and better error handling - + 2002-12-05 Daniel Morgan * System.Data.OracleClient * System.Data.OracleClient/System.Data.OracleClient - added directory to mcs/class for the Oracle 8i + added directory to mcs/class for the Oracle 8i data provider - + * System.Data.OracleClient/OciGlue.cs * System.Data.OracleClient/OracleConnection.cs * System.Data.OracleClient/OracleCommand.cs: added files for the System.Data.OracleClient.dll assembly - + * System.Data.OracleClient/ociglue.c * System.Data.OracleClient/ociglue.h: added files for thte System.Data.OracleClient.gluelib.dll unmanaged c shared library - + * System.Data.OracleClient/TestOracleClient.cs: test the OracleClient data provider for Oracle 8i database - + * ChangeLog: added file - + * README.TXT: added file - + * System.Data.OracleClient/OciGlueLib_MSVC_win32.make: - added makefile for ociglue shared lib on Win32 platform + added makefile for ociglue shared lib on Win32 platform and compiler Visual C++ 7.0 - + * System.Data.OracleClient/OciGlueLib_BCC_win32.make: added makefile for ociglue shared lib on Win32 platform and compiler Borland C++ 5.5 - + * MonoOracleClient.csproj * MonoOracleClient.csproj.usr * MonoOracleClient.sln