1 2005-11-22 Konstantin Triger <kostat@mainsoft.com>
3 * DbProviderFactory.cs: TARGET_JVM ifdef.
5 2005-11-21 Senganal T <tsenganal@novell.com>
11 * DbProviderFactories.cs
13 * DbProviderFactory.cs
16 * DbParameterCollection.cs
17 - Added stubs and other changes for ADO.NET 2.0 compatibility.
18 * DbMetaDataCollectionNames.cs (new file)
19 - Added DbMetaDataCollectionNames Enumeration
21 2005-10-24 Konstantin Triger <kostat@mainsoft.com>
23 * DataContainer.cs: removed extra type validation for object container
25 2005-10-14 Senganal T <tsenganal@novell.com>
28 - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
29 as returned by database. Fixes bug#76433.
31 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
33 - Rebuild index immediately after construction.
34 - Do not add records if they do not padd key filtration.
35 - Do not attempt to remove records if the are not in the index.
37 - Added HasFilter property, CanContain and DependsOn methods.
38 - Equals() uses filter expression comparison.
40 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
41 * DataContainer.cs: Do not convert value if container type
44 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
46 * DbTypes.cs: Marked internal to fix public API.
48 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
51 - Update (): set parameter values only after getting the
52 appropriate command from command builder. Close reader only if it
53 is not closed before. Use parameter's SourceVersion. Whitespace
54 corrections to comply with standard.
56 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
58 * DataColumnMappingCollection.cs: updated attributes & attribute
59 descriptions to match with masterinfos.
61 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
63 * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
64 meaningful error message if mapping is missing.
66 * DbDataAdapter.cs: Update: meaningful message if table is missing.
68 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
70 * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
73 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
75 * DbConnectionStringBuilder.cs: Implemented method for parsing
76 connection string through "ConnectionString" property.
78 * DbConnectionStringBuilderHelper.cs: Helper class to provide
79 conversion between string=>.net type mapping for connection string
80 builders. The idea is to use between other providers (odbc) as
83 2005-05-29 Boris Kirzner <borisk@mainsoft.com>
84 * DbCommand.cs - added #ifdef NET_2_0 on DbCommandOptionalFeatures (not used in TARGET_JVM).
85 * ExceptionHelper.cs - removed java references. Exceptions created on formatted text messages. Code styling fixes.
86 * DbParameterCollection.cs - implemented indexer properties.
87 * DbDataAdapter.cs - delagate exceptions creating to ExceptionHelper.
89 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
91 * DataContainer.cs: Correcting the order - first the record is queried whether the value it contains is null, and only if not the value is fetched
93 2005-05-20 Umadevi S <sumadevi@novell.com>
94 * Added file DbProviderSpecificTypePropertyAttribute.cs
96 2005-05-19 Umadevi S <sumadevi@novell.com>
98 * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
100 2005-05-18 Konstantin Triger <kostat@mainsoft.com>
102 * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
104 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
106 * RecordCache.cs: quick fix to make build 2.0 profile (follow up
107 for check in 2005-05-16).
109 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
111 * Index.cs: validation that the updated row belongs to the index
113 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
116 Added CharDataContainer, SByteDataContainer, UInt16DataContainer, UInt32DataContainer, UInt64DataContainer, DateTimeDataContainer, DecimalDataContainer
117 SetItemFromDataRecord: Changed to work with ISafeDataRecord or through GetValue to enable conversion
118 return DBNull.Value when the stored value is null
121 Ensure correct order for LoadDataRow
122 Fixing schema creation
126 LoadSchema: Retrieve needed fields only
129 Added Rows-to-Records mapping
130 Added ReadIDataRecord method for correct handling of default/auto increment values
132 * Added Index.cs: Index implementation
133 * Added Key.cs: Index descriptor implementation
136 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
138 * DbDataReader.cs: Added static method to construct the schema
139 table with default schema. Could be reused in many places.
141 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
143 * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
144 methods as they are not operating on the current instance. This
145 could be reused to fill any table from a data reader.
147 * RecordCache.cs: While disposing records, make sure that the
148 record is not already disposed. i.e. to make sure later the same
149 record is not reused. Implemented a static method to compare two
150 version of records in a container.
152 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
154 * DataAdapter.cs: Implemenetd OnFillError handler.
156 * DbDataAdapter.cs: BuildSchema (): the table to be filled might
157 contain few additional columns as well. so mapping length should
158 be columns' length + fields' length.
160 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
162 * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
163 value for the parameter.
165 2005-05-25 Umadevi S <sumadevi@novell.com>
166 * Added DbException.cs
168 2005-03-23 Sureshkumar T <tsureshkumar@novell.com>
170 * DbDataAdapter.cs: For Update, disable ReadOnly constraint
171 temporarily before updating the row. Info from Ingo Bauersachs.
172 SkipAllRemainingRows should also skip current row (msdn).
174 2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
176 * DbDataAdapter.cs: Update (): update the rows based on the
177 UpdateRowSource property. Process further based on the
178 RowUpdatedEvent handler argument's Status property.
179 Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
180 bug report and patch.
182 * RowUpdatedEventArgs.cs: if custom error is not set, throw a
185 2005-03-01 Sureshkumar T <tsureshkumar@novell.com>
187 * ConnectionStringsSectionHandler.cs: Added. configuration section
188 handler for section "connectionStrings". This handler is a ad hoc
189 solution till the new configuration API is available in mono.
191 2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
193 * DbDataAdapter.cs (Update ()) :
194 - Check for one return result set and map the values back to
196 - Check for output & return value parameters and update the value
197 back to mapped column
198 - check for recordsAffected only after closing the reader.
200 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
202 * DbConnection.cs: Implement Dispose pattern.
204 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
206 * DbDataPermission.cs : Empty.Union(Empty) is Empty.
208 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
210 * DbDataPermissionAttribute.cs, PermissionHelper.cs :
211 fixed some incompatible type of exception between 2.0 and 1.x.
213 Wrap exceptions thrown by SetValue() within ArgumentException.
215 2004-12-10 Sureshkumar T <tsureshkumar@novell.com>
217 * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
218 MissingSchemaAction is set to AddWithKey. Also, Add auto increment
219 value from the source table. fixes bug #67757 and #69110.
221 2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
223 * DbProviderSupportedClasses.cs: Added correct enum values.
224 * DbConnection.cs: Missing virtual method EnlistTransaction Added.
225 * DbCommand.cs: Implemented ProviderFactory base factory methods.
227 2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
229 * DbConnectionStringBuilder.cs: Class for helping creation of db
230 connection strings added.
232 2004-10-01 Sureshkumar T <tsureshkumar@novell.com>
234 * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
235 getting available provider factories and creating a specified provider factory.
237 * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
238 DbProviderFactories configuration section.
240 * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
243 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
245 * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
246 Implementation isn't complete as the restrictions seems to change the
247 expected results (breaking some rules like x.IsSubsetOf (x) == false).
248 Better (real-world) tests cases are required.
249 * PermissionHelper.cs: Fixed small differences between System.Data.dll
250 validations wrt to mscorlib.dll (XML and PermissionState).
252 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
254 * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
255 to support new methods in DBDataPermission.
256 * DbConnectionString.cs: Updated class to split from/inherit
257 DbConnectionOptions class.
258 * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
259 completed constructors.
260 * DbDataPermissionAttribute.cs: Completed/fixed class.
261 * PermissionHelper.cs: Helper methods to create permission classes.
263 2004-08-31 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
264 * DbDataAdapter.cs: Fix for out of memory exceptions when trying to fill a dataset with a query which doesn't return a resultset like insert, delete or update.
266 2004-07-21 Umadevi S <sumadevi@novell.com>
267 * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
269 2004-07-07 Umadevi S <sumadevi@novell.com>
270 * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
271 SetItemForDataRecord method for the DateTimeClass
274 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
276 * DataColumnMappingCollection.cs : fixed typo.
277 * DbDataAdapter.cs : column mappings were not filled.
279 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
281 * DataTableMapping.cs : Clone() should also clone ColumnMappings.
283 2004-06-18 Umadevi S <sumadevi@novell.com>
284 * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
285 SetItemForDataRecord method for all the classes.
287 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
288 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
290 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
292 - Store and retreival of null and DBNull values reviewed.
293 - Added GetInt64 to support AutoIncrement of DataColumn.
294 - Added missing CopyValue method to BitDataContainer.
295 - Added FillValues method to propagate single value to whole container.
297 2004-06-10 Umadevi S <sumadevi@novell.com>
298 * DataTableMappingCollection.cs - fixed nunit testcase errors
299 IndexOfDataSetTable method
301 2004-06-09 Umadevi S <sumadevi@novell.com>
302 * DataTableMappingCollection.cs - fixed nunit testcase errors
303 - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
305 2004-06-09 Umadevi S <sumadevi@novell.com>
306 * DataColumnMappingCollection.cs - fixed nunit testcase errors
307 - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
309 2004-06-08 Umadevi S <sumadevi@novell.com>
310 * DataColumnMappingCollection.cs - fixed nunit testcase errors.
311 - remove, removeat, contains methods.
313 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
315 * DataAdapter.cs: added missing protected ctor
316 * DbDataAdapter.cs: added stub for missing protected ctor
317 * DbDataPermission.cs: added stubs for missing protected
318 ctors, added stub for missing Clear method
320 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
321 * DataColumnMappingCollection.cs: added missing attributes on
324 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
325 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
327 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
329 * DbDataPermissionAttribute.cs: change AllowMultiple and
330 Inherited to match .NET
332 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
333 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
334 for primitive types reviewed. Added check for null values when reading from IDataRecord.
336 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
337 * RecordCache.cs - added. Each instance of record cache belongs to specific table
338 and manages pool of records ( indexes into data containers) to be used by data rows.
339 * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
340 of primitives or objects. Each data container belongs to specific DataColumn.
341 * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
342 ( to fetch exact number of records required ).
344 2004-05-13 Umadevi S (sumadevi@novell.com)
345 * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
347 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
348 * ComparerFactory.cs: marked internal
350 2003-04-26 Boris Kirzner <borisk@mainsoft.com>
351 * DataColumnMappingCollection.cs : Small fix in exception message thrown.
353 2003-04-25 Boris Kirzner <borisk@mainsoft.com>
354 * DbDataAdapter.cs : Fixed bug in Fill :
355 - Reader can have empty results (fo example from UPDATE or DELETE).
356 - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
357 - In FillTable - skip rows only once for each table.
359 2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
360 * DbDataAdapter.cs : Refactoring of Fill. New private method
361 FillTable does most of the work now. Use int[] instead of
362 hashtable for mapping. Move creation of tableArray[] outside
365 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
367 * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
368 * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
369 * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
370 * DataColumnMappingConverter: Added stub
371 * DataTableMappingConverter: Added stub
373 2004-03-03 Eran Domb <erand@miansoft.com>
375 * ComparerFactory.cs : Added.
377 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
379 * DbDataPermission.cs : tiny fix to pass OleDbPermission.
381 2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
383 * DbDataPermission.cs : .ctor(PermissionState state) should not call
384 obsolete .ctor(state, allowBlankPassword). csc reports an error.
386 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
388 * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
389 AcceptChanges in Update when a CommandBuilder is used and
390 correctly fill information about primary keys in FillSchema.
391 Patch from Sergei Malinin (smalinin@amurnet.ru).
393 2003-12-23 Tim Coleman <tim@timcoleman.com>
394 * DbConnectionString.cs:
396 * DbProviderFactory.cs:
397 Fix typo to make CLS compliant
399 2003-12-16 Jackson Harper <jackson@ximian.com>
401 * SchemaTableOptionalColumn.cs: Add to fix default build
403 2003-12-16 Tim Coleman <tim@timcoleman.com>
404 * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
405 * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
406 * DbConnectionString.cs DbDataSourceEnumerator.cs
407 * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
408 * DbProviderConfigurationHandler.cs DbProviderFactories.cs
409 * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
410 * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
411 * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
412 * SchemaTableColumn.cs:
413 New stubs added for .NET 1.2
414 * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
415 * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
416 * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
417 * FieldNameLookup.cs SchemaInfo.cs:
418 Changes made for .NET 1.2
420 2003-10-22 Eran Domb <erand@miansoft.com>
421 * DbDataAdapter.cs : Check if there is mapping to avoid exception.
423 2003-11-26 Tim Coleman <tim@timcoleman.com>
424 * DbDataReader.cs: Add new stub class
426 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
428 * DbDataAdapter.cs: Call command dispose in self dispose method. We
429 need to dispose the connections and other stuff stored in the
432 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
434 * DataColumnMappingCollection.cs: Fix a missing exception when the
435 required mapping is not in the collection. MS.NET throws an
438 2003-10-22 Eran Domb <erand@miansoft.com>
440 * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
441 Also closing the dataReader if an exception is thrown.
442 (Fill): the same as above.
443 (SetupSchema): in now return string (the table name).
444 (GetFillParameters): fix a bug.
445 (BuildSchema)
\96 it now return Hashtable. Add columns to the table only if there is a mapping. Build an Hashtable that maps the columns from the table to the column from the reader.
446 (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
449 2003-09-30 Duncan Mak <duncan@ximian.com>
451 Patch from Eran Domb <eran@mainsoft.com>.
453 * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
455 2003-09-25 Duncan Mak <duncan@ximian.com>
457 * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
458 Fixes a possible NullReferenceException, more details here:
460 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
462 2003-09-21 eran <erand@mainsoft.com>
464 * DbDataRecord.cs: The method
465 System.Data.Common.DbDataRecord.GetValues(object[] values) did not
466 put the values of the DbDataRecord into values parameter.
468 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
470 * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
471 exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
473 2003-07-31 Duncan Mak <duncan@ximian.com>
475 * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
478 2003-03-21 Alan Tam <Tam@SiuLung.com>
480 * DbDataAdapter.cs: Update now uses correct DataRowVersion
481 when accessing the data.
483 2003-03-17 Aleksey Demakov <avd@openlinksw.com>
485 * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
486 of BaseColumnName (bug #39830) for DataColumn names.
487 BaseTableName is no longer taken into account as well.
489 2003-02-28 Aleksey Demakov <avd@openlinksw.com>
491 * DbDataAdapter.cs: Update (DataSet) updates the default
494 2003-02-25 Alan Tam <Tam@SiuLung.com>
496 * DbDataAdapter.cs: Added support for filling when schema is present.
497 Fixed incorrect behavior when ColumnMapping is present
498 when more than one fields have the same name. Implemented Dispose.
499 Fixed error when there is no ColumnMapping at all.
500 Still have some problems in finding the correct TableMapping
501 because the SourceTable name is not present in BuildSchema
503 2003-02-24 Aleksey Demakov <avd@openlinksw.com>
505 * DbDataAdapter.cs: The original code might pass a null DataTableMapping
506 value which is then used to create a RowUpdatingEventArgs
507 instance. So RowUpdatingEvent handler (for instance
508 CommandBuilder) could get null DataTableMapping which
509 might be unexpected. The patch makes sure that a non-null
510 DataTableMapping is passed.
512 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
514 * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
515 object is an Int16... Gotta fill a bug report and when fixed undo this
518 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
520 * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
522 2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
524 * SchemaInfo.cs: added missing properties to fix mcs build
526 2002-05-05 Miguel de Icaza <miguel@ximian.com>
528 * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
529 interfaces we do not implement yet.
531 * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
532 we do not implement yet.
534 * DbDataPermissionAttribute.cs: call base constructor.