1 2005-04-05 Sureshkumar T <tsureshkumar@novell.com>
3 * OdbcParameter.cs: SqlBindParameter requires the last parameter
5 * libodbc.cs: API change for above.
7 2005-04-04 Sureshkumar T <tsureshkumar@novell.com>
9 * OdbcDataReader.cs: Ignore BaseTableName & BaseColumnName
10 properties while building Schema information as most drivers
11 ignores these properties. e.g. PostgreSQL.
13 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
14 Appasamy <appasamy@rediffmail.com>
16 * OdbcColumn.cs: IsStringType: OdbcType.Char is also of type
18 * OdbcDataReader.cs: GetSchemaTable: Get Additional info using
19 SQLColAttribute. Don't pad with spaces in GetColAttributeStr.
21 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
24 - GetValue: Decode only outsize length for SQL_C_TYPE.CHAR type in
26 - GetOrdinal: Perform case insensitive lookup if sensitive lookup
29 2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
30 Appsamy <appasamy@rediffmail.com>
32 * libodbc.cs (System.Data.Odbc): Added enum FieldIdentifier. Added
33 library functions SQLPrimaryKeys, SQLBindCol and SQLColAttribute.
35 * OdbcDataReader.cs: Implemented GetPrimaryKeys to get the primary
36 keys associated with resultset using SQLPrimaryKeys.
38 2005-03-15 Sureshkumar T <tsureshkumar@novell.com>
40 * OdbcConnection.cs: re-throw error on exception in Open method.
42 2005-03-11 Sureshkumar T <tsureshkumar@novell.com>
44 * OdbcConnection.cs : notify state change through event. clean up
45 handles in case any exception while opening a connection. NET_2_0
46 uses base class's OnStateChange handler.
48 2005-03-10 Sureshkumar T <tsureshkumar@novell.com>
50 Migrated core classes to derive from ProviderBase instead of
51 implementing IDb* interfaces. Most part of these files have been
52 branched with #if NET_2_0/ONLY_1_1. Make sure any changes works
53 with both the profiles.
55 * OdbcFactory.cs: Concrete Factory for DbProviderFactory. Factory
56 to generate Connection,Command,etc.
58 * OdbcConnectionFactory.cs: Concrete factory for DbConnectionFactory.
60 * OdbcTransaction.cs: migration and overrides.
61 * OdbcCommandBuilder.cs: migration and overrides.
62 * OdbcDataReader.cs: --do--. no command behavior member as it will
63 be maintained in base provider class.
64 * OdbcParameterCollection.cs: --do--. Now, local ArrayList is not
65 maintained here, instead it is in base class. Most of the methods
66 which operated on this list are not needed in NET_2_0.
67 * OdbcConnection.cs: Migration. connectionString is maintained in
68 DbConnectionBase class.
69 * OdbcParameter.cs: Migration. Many of the local members like
70 value,sourceColumn are maintained in DbParameterBase.
71 * OdbcCommand.cs: Migration. commandText,timeout and
72 commandTimeOut are maintained in DbCommandBase class.
74 2005-03-10 Sureshkumar T <tsureshkumar@novell.com>
76 * OdbcType.cs: Added enums for SQL_TYPE & SQL_C_TYPE.
78 * libodbc.cs: Accept SQL_C_TYPE for driver
79 parameters. SQLBindParameter takes two parameters SQL_TYPE and
80 SQL_C_TYPE. This caused the whole lot of changes done in this
83 * OdbcParameter.cs: Set default values of OdbcType & DbType. Pass
84 mapped SQL_TYPE and SQL_C_TYPE to SQLBindParameter. Increase
85 buffer size by 2 for additional ' chars.
87 * OdbcTypeConverter.cs: Added class to convert between OdbcType,
90 * OdbcColumn.cs: Added private members for SQL_TYPE and
91 SQL_C_TYPE. conversion from/to odbctype to/from SQL_TYPE is done
92 through OdbcTypeConverter class.
94 * OdbcDataReader.cs: use OdbcColumn's SQL_C_TYPE member. It keeps
95 track of default mapping between odbctype, SQL_TYPE and
96 SQL_C_TYPE. Move dataTableSchema.AcceptChanges inside if condition
97 to avoid null reference exception.
99 2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
100 Appasamy <appasamy@rediffmail.com>
102 * OdbcConnection.cs: Implemented properties database, datasource,
103 serverversion and driver.
104 * libodbc.cs: Added type OdbcInfo and native call SQLGetInfo.
106 2005-01-20 Sureshkumar T <tsureshkumar@novell.com>
108 * OdbcDataReader.cs: case for type OdbcType.Double added in
109 GetValue. fixes bug #71173.
111 Thanks to patch given by "Appasamy T" <appasamy@rediffmail.com>
113 2005-01-19 Sureshkumar T <tsureshkumar@novell.com>
115 * OdbcType.cs: Change enum values for compatiability with MS.NET.
116 * libodbc.cs: Change enum values for compatiability with
117 MS.NET. Change calls into driver with native type.
118 * OdbcDataReader.cs: Change enum values for compatiability with
119 MS.NET. Change calls from/into driver with native type.
121 2005-01-18 Sureshkumar T <tsureshkumar@novell.com>
123 * OdbcDataReader.cs: GetOrdinal need not check for
124 currentRow. Return -1 if column name is not found.
126 fixes bug #71261. Thanks to patch given by "Appasamy T"
127 <appasamy@rediffmail.com>.
129 2005-01-13 Sureshkumar T <tsureshkumar@novell.com>
131 * OdbcDataReader.cs: Implement NextResultSet for multiple result
134 * OdbcDataReader.cs: build column schema once creating reader and
135 then for each Next result set. Thanks to
136 sebastien.robitaille@croesus.com (Sebastien Robitaille) for
137 pointing out this optimization (bugzilla #70530).
139 * libodbc.cs: Added library calls SQLFreeStmt and SQLMoreResults
140 for mutiple resultsets.
142 2005-01-10 Sureshkumar T <tsureshkumar@novell.com>
144 * OdbcDataReader.cs: Connection has to be closed only after
145 Statement handle is freed. fixes bug #70048.
147 2005-01-07 Sureshkumar T <tsureshkumar@novell.com>
149 * OdbcDataReader.cs: Pass OdbcCType.SignedBigInt for accessing big
152 * OdbcType.cs: Added a new enum for Odbc C DataTypes. This should
153 essentially be passed to drivers, since the public OdbcType types
154 differs from types expected in drivers in some cases.
156 * libodbc.cs : Added a ODBC method which takes OdbcCType
157 enumeration for SQLGetData for BigInt fields.
161 2004-12-28 Duncan Mak <duncan@ximian.com>
163 * libodbc.cs: Change all the DllImport attributes to point to
164 "odbc32.dll" instead of "odbc32", because /etc/mono/config lists
165 "odbc32.dll" (all other entries in the file have the .dll suffix
166 as well, for consistency's sake, let's rename it here.)
170 2004-12-03 Sureshkumar T <tsureshkumar@novell.com>
172 * OdbcParameter.cs: Fixed a null reference exception when a
173 parameter is created and its value is not set. #68750.
175 2004-11-26 Sureshkumar T <tsureshkumar@novell.com>
177 * OdbcParameter.cs: Fixed Parameter Size property as well as
178 insufficient buffer errors. bug #68749.
180 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
182 * OdbcPermission.cs: Added internal constructor accepting an Odbc
183 PermissionAttribute parameter (using base class protected ctor).
184 * OdbcPermissionAttribute.cs: Copy now use the new OdbcPermission
187 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
189 * OdbcPermission.cs: Mostly completed (needs tests).
190 * OdbcPermissionAttribute.cs: Completed.
192 2004-08-31 Umadevi S (sumadevi@novell.com)
193 * OdbcDataReader.cs - Fixed Decimal parsing
195 2004-08-30 Umadevi S (sumadevi@novell.com)
196 * OdbcType.cs - removed inheritance from short.
198 2004-08-27 Sureshkumar T (tsureshkumar@novell.com)
199 * OdbcDataReader.cs - fixed bug #63539 - TINYINT ODBC datatype is converted into System.Byte
201 2004-08-26 Sureshkumar T (tsureshkumar@novell.com)
202 * OdbcDataReader.cs - Date & DateTime GetValue fixed.
203 GetBytes ordinal parameter passing fixed for BINARY in GetValue.
205 2004-08-20 Sureshkumar T (tsureshkumar@novell.com)
206 * OdbcConnection.cs - correct handles are passed to OdbcError exception to trap the correct error
208 2004-08-04 Umadevi S (sumadevi@novell.com)
209 * OdbcDataReader.cs - Fixed bug 61832 - Column names were not filled, due to which name based lookup of columns failed.
212 2004-08-04 Umadevi S (sumadevi@novell.com)
213 * OdbcDataReader.cs - Fixed bug 61405 - Handling smallint column type.
215 2004-07-30 Sureshkumar T (tsureshkumar@novell.com)
216 * OdbcCommand.cs: ExecuteNonQuery Closed statement handle to fix memory leak
217 * OdbcDataReader.cs: Closed statement handle to fix memory leak
218 Removed SQLState login in GetBytes coz OdbcError provides the same.
220 2004-07-29 Umadevi S (sumadevi@novell.com)
221 * OdbcCommand.cs - Fixed bug 62046. ExecuteNonQuery implemented correctly
224 2004-07-28 Umadevi S (sumadevi@novell.com)
225 * OdbcParameter.cs - fixed bug 61968. String values passed with quotes
228 2004-07-07 Umadevi S (sumadevi@novell.com)
229 * OdbcConnection.cs - Allowed Close to be called multiple times
230 - Implementation of Dispose method
232 2004-07-07 Umadevi S (sumadevi@novell.com)
233 * OdbcCommand.cs : fixed set method for Transaction
235 2004-07-01 Sureshkumar T (tsureshkumar@novell.com)
236 * OdbcCommand.cs : fixed reader problem with ExecuteScalar
238 2004-06-23 Sureshkumar T (tsureshkumar@novell.com)
239 * OdbcConnection.cs: Fix: Moved env allocation to Open method.
240 Disconnection & freeing handles are done in Close
241 method to avoid simultaneous connections.
242 * libodbc.cs : Added constants for odbc version.
244 2004-06-16 Gert Driesen <drieseng@users.sourceforge.net>
246 * OdbcError.cs: fixed serialization compatibility with MS.NET
247 * OdbcErrorCollection.cs: fixed serialization compatibility with
249 * OdbcException.cs: fixed serialization compatibility with MS.NET
251 2004-06-16 Sureshkumar T (tsureshkumar@novell.com)
252 * OdbcDataReader.cs: Added GetValue support for Sql Binary type to return byte array.
253 Implemented GetBytes method.
254 * libodbc.cs : Added enums, constants & imports for above fix.
256 2004-06-13 Gert Driesen <drieseng@users.sourceforge.net>
258 * OdbcDataReader.cs: changed GetData method to return IDataReader
261 2004-06-09 Sureshkumar T (tsureshkumar@novell.com)
262 * OdbcDataReader.cs: Removed checking of currentRow in GetName
265 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
267 * OdbcPermission.cs: moved Obsolete attribute to correct
270 2004-06-02 Sureshkumar T (tsureshkumar@novell.com)
272 * OdbcDataReader.cs: Implemented GetByte method. Fixed bug #58820
274 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
276 * OdbcParameter.cs: added missing attributes
277 * OdbcPermission.cs: added missing attributes
278 * OdbcConnection.cs: fixes attribute, added missing attributes
279 * OdbcInfoMessageEventArgs.cs: removed extra properties, fixed
280 API compatibility with MS.NET
281 * OdbcCommandBuilder.cs: use correct attributes
283 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
285 * OdbcPermissionAttribute.cs: change AllowMultiple and
286 Inherited to match .NET
288 2004-05-17 Umadevi S (sumadevi@novell.com)
289 * OdbcPermissionAttribute, OdbcPermission.cs - fixed missing methods
291 2004-05-17 Gert Driesen (drieseng@users.sourceforge.net)
292 * OdbcCategoryAttribute.cs: fixed namespace
293 * OdbcDataAdapter.cs: removed extra attributes
294 * OdbcDescriptionAttribute.cs: fixed namespace
296 2004-05-14 Umadevi S (sumadevi@novell.com)
297 * OdbcParameterConverter.cs -Added
298 * OdbcParameter.cs - Added some attributes
300 2004-05-14 Umadevi S (sumadevi@novell.com)
301 * OdbcDataAdapter.cs - Added Attributes
303 2004-05-14 Umadevi S (sumadevi@novell.com)
304 * OdbcConnection.cs - Added Attributes
306 2004-05-14 Umadevi S (sumadevi@novell.com)
307 * OdbcCommand.cs - Added Attributes
309 2004-05-14 Umadevi S (sumadevi@novell.com)
310 * OdbcDataReader.cs - Added Attributes
312 2004-05-14 Umadevi S (sumadevi@novell.com)
313 * Added Classes OdbcCategoryAttribute.cs, OdbcDescriptionAttribute.cs
315 2004-05-14 Umadevi S (sumadevi@novell.com)
316 * Added Class OdbcCommandBuilder.cs
318 2004-05-14 Umadevi S (sumadevi@novell.com)
319 * Added classes OdbcInfoMessageEventArgs.cs - with stubs
320 * Added classes OdbcInfoMessageEventInfo.cs
322 2004-05-14 Umadevi S (sumadevi@novell.com)
323 * Added classes OdbcPermission.cs, OdbcPermissionAttribute.cs - with stubs
325 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
326 * OdbcException.cs : removed ErrorCode property, fixing signature
327 * OdbcErrorCollection.cs : added internal ctor, reduced
328 accessibility of Add method to internal
329 * OdbcCommand.cs: marked hstmt field private, remove setters for
331 * OdbcDataReader.cs: Added GetDate method, renamed GetTimeSpan to
332 GetTime to match MS.NET, added HasRows stub
334 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
336 * OdbcErrorCollection.cs:
337 * OdbcException.cs: fixed linefeeds to DOS to match other
338 sources in System.Data.Odbc
340 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
341 * OdbcCommand.cs: No longer use OdbcConnection.Datareader, in order
342 to fix signature of OdbcConnection
343 * OdbcDataReader.cs: No longer use ODbcConnection.Datareader, in
344 order to fix signature of OdbcConnection
345 * OdbcConnection.cs: Signature fixes: removed DataReader property,
346 added setter for ConnectionTimeout, made transaction internal
347 * OdbcParameter.cs: reduced accessibility of Bind method to
348 internal, added setter for IsNullable
349 * OdbcParameterCollection.cs: made default ctor and Bind method
352 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
353 * OdbcCommand.cs: fixed linefeeds to DOS to match other sources
356 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
357 * OdbcTransaction.cs: fixed signature to match MS.NET
359 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
360 * OdbcType.cs: fixed typo UniqueIndetifier
361 * OdbcColumn.cs : fixed typo UniqueIndetifier
363 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
364 * OdbcType.cs: fixed linefeeds to DOS to match other sources
367 2003-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
369 * OdbcTransaction.cs: applied patch from Jeff Seifert that makes
370 this class implement IDbTransaction interface.
372 2002-11-01 Daniel Morgan <danmorg@sc.rr.com>
374 * OdbcDataReader.cs: - uncommented code, but I put a FIXME:
375 according to Brian, this does not work on MS .NET however, we need it
376 for Mono for now. schemaRow.AcceptChanges(),
377 - implement IEnumerable.GetEnumerator()
379 * libodbc.cs: changed the DllImport from "odbc32.dll" to "odbc32"
381 2002-10-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
385 * OdbcException.cs: added dummy implementation for these missing