95ff6319490152550d4d4981877e7a1bcb2841e3
[mono.git] / mcs / class / System.Data.OracleClient / System.Data.OracleClient / ChangeLog
1 2010-02-14  Veerapuram Varadhan  <vvaradhan@novell.com>
2
3         ** Fixes 667855
4         * OracleParameter.cs (InferSize): For Raw types, use the appropriate 
5         methods to convert value to bytearray and use them to bind.
6         (Bind): Fix index parameters in call to Array.ConstrainedCopy. 
7         
8 2010-01-30  Veerapuram Varadhan  <vvaradhan@novell.com>
9
10         ** Fixes #667236 - Based on patch by Kalyanov.Dmitry@gmail.com
11         * OracleParameter.cs (GetOutValue): Handle OciDataType.Integer 
12         appropriately using the underlying dbType.
13         
14 2009-10-29  Veerapuram Varadhan  <vvaradhan@novell.com>
15
16         ** Fixes #322695
17         * OracleParameter.cs: Use oracle returned rsize instead of 
18         MAXBYTECOUNT.  Reduces the size of allocated buffer.
19         
20 2009-10-29  Veerapuram Varadhan  <vvaradhan@novell.com>
21
22         ** Fixes #321718
23         * OracleParameter.cs: Update Environment handle in OciLobLocator.
24         
25 2009-09-30  Veerapuram Varadhan  <vvaradhan@novell.com>
26
27         ** Fixes #543207
28         * OracleParameter.cs (Bind): Do not remove the trailing-null-byte.
29         
30 2009-09-25  Veerapuram Varadhan  <vvaradhan@novell.com>
31
32         ** Fixes #535889
33         * OracleParameter.cs: In case of OUT param, update sizeSet even if 
34         value is null or DBNull.  Also, use rsize instead of bindSize to 
35         avoid extra allocation.
36         
37 2009-09-20  Daniel Morgan  <monodanmorg@yahoo.com>
38
39         * OracleConnection.cs: implement GetSchema methods
40
41 2009-06-04  Veerapuram Varadhan  <vvaradhan@novell.com>
42
43         * OracleParameter.cs: Infer size only for 2.0 profile when only 
44         value is passed.  Fixes test failure under 1.1 profile.
45         
46 2009-06-03  Veerapuram Varadhan  <vvaradhan@novell.com>
47         
48         * OracleParameter.cs:  If a non-zero size is passed, update 
49         the size member but sizeSet is updated only when a non-null 
50         value is passed.
51         
52 2009-05-15  Veerapuram Varadhan  <vvaradhan@novell.com>
53
54         * OracleParameter.cs: Consider DBNull.Value as null and 
55         update size and sizeSet accordingly.
56         
57 2009-05-15  Veerapuram Varadhan  <vvaradhan@novell.com>
58
59         ** Fixes #424908
60         * OracleParameter.cs:  Make sure size and sizeSet are properly 
61         updated whenever value changes.
62         
63 2009-03-29  Veerapuram Varadhan  <vvaradhan@novell.com>
64
65         * Fixes #480377
66         * OracleDataReader.cs: Implement MonthSpan and TimeSpan.
67         
68 2009-03-20  Daniel Morgan <monodanmorg@yahoo.com>
69
70         * OracleCommand.cs: fix suggested by Thracx <SpamMonkey01+Mono@gmail.com>
71         where the parameter was always item zero for an out parameter.
72
73 2009-02-23  Veerapuram Varadhan  <vvaradhan@novell.com>
74
75         * OracleException:  2.0 changes - patch submitted by 
76         Jay Wren <jrwren@xmtp.net>
77         
78 2009-02-19  Veerapuram Varadhan  <vvaradhan@novell.com>
79
80         * OracleParameter.cs (bind): Consider OciDataType.Float and .Integer as 
81         OciDataType.Number.  Patch provided by Russell <russell.kay@realtimeworlds.com>
82         
83 2008-07-06  Sebastien Pouliot  <sebastien@ximian.com> 
84
85         * OracleDataReader.cs: Replace a few Type.GetType by typeof
86         [Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]
87
88 2008-05-07  Gert Driesen  <drieseng@users.sourceforge.net>
89
90         * OracleTransaction.cs: Corcompare fixes for 2.0 profile. Implemented
91         DbConnection and Dispose override. Code formatting.
92         * OracleLob.cs: Implemented Dispose overloads. Code formatting.
93         * OracleCommand.cs: Removed extra connection_timeout field. Fixed
94         DesignTimeVisible. Changed CommandText to return zero-length string
95         when underlying value is null. Fixed CommandTimeout to always
96         return 0. Implemented DbConnection, DbParameterCollection and
97         DbTransaction properties. Corcompare fixes for 2.0 profile.
98         * OracleTimeSpan.cs: In OracleTimeSpan ctor, throw NRE when from
99         is Null timespan. Fixed Hours property to actually return hours instead
100         of days. Modified Value to throw InvalidOperationException when
101         current instance is Null. Fixed explicit operator argument name.
102         * OracleRowUpdatingEventArgs.cs: Added missing BaseCommand override.
103         * OracleParameterCollection.cs: Removed extra internal ctor.
104         Corcompare fixes for 2.0 profile. On 1.0 profile, perform culture
105         sensitive and case-insensitive lookup. On 2.0 profile, first perform
106         case-sensitive lookup and fallback to case-insensitive lookup.
107         Set and remove Container where necessary, and perform checks for
108         ownership. Implemented AddRange overloads, and (Get/Set)Parameter.
109         Added several 2.0 overloads taking OracleParameter. Fixed exceptions
110         to match MS.
111         * OracleDataReader.cs: Corcompare fixes for 2.0 profile. Moved
112         disposing of schematable to Close, and invoke Close from Dispose.
113         Reduce casts. Stubbed methods introduced in 2.0 profile.
114         * OracleConnection.cs: Corcompare fixes for 2.0 profile. Changed
115         ConnectionString to return zero-length string when underlying value is
116         null. Removed explicit IDisposable implementation. Use string.Empty
117         instead of "". Code formatting.
118         * OracleMonthSpan.cs: Code formatting. Changed argument name of
119         explicit operator to match MS.
120         * OracleDataAdapter.cs: Code formatting. Fixed default ctor to use
121         null for SelectCommand. In 2.0 profile, set UpdateBatchSize to 1 and
122         throw AORE when setting it to negative value. Modified *Command setters
123         to throw InvalidCastException instead of ArgumentException. Removed
124         extra TableMappings property.
125         * OracleParameter.cs: Use zero-length string as default for
126         SourceColumn. Added missing 2.0 ctor. In ParameterName return zero
127         length string when name is null. Added SourceColumnNullMapping
128         property. Corcompare fixes for 2.0 profile. Code formatting.
129         * OracleBFile.cs: Added Dispose override for 2.0 profile.
130
131 2007-11-11 Leszek Ciesielski <skolima@gmail.com>
132
133         * OracleCommands.cs: fix for binging procedure parameters by name
134         rather than position (by Gary Thomas)
135
136 2007-11-01  Marek Safar  <marek.safar@gmail.com>
137
138         * OracleCommand.cs,
139         * OracleConnection.cs,
140         * OracleTransaction.cs: 2.0 profile updates.
141
142 2007-05-25 Nidhi Rawal <rawalnidhi_rawal@gmail.com>
143         * OracleDateTime.cs: Wrote the methods CompareTo (object) and Equals (object).
144         * OracleClientFactory.cs: Wrote methods CreatePermission (PermissionState) and CreateDataSourceEnumerator ().
145         * OracleString.cs: Wrote methods GreaterThan (OracleString, OracleString) and 
146         GreaterThanOrEqual (OracleString, OracleString).
147         * OracleDataAdapter.cs: Wrote the property UpdateBatchSize.
148
149 2007-05-25 Amit Biswas <amit@amitbiswas.com>
150         * OracleParameterCollection.cs: Fixed the bugs in properties IsFixedSize, IsReadOnly and IsSynchronized.
151         * OracleTimeSpan.cs: Implemented methods CompareTo (object) and Equals (object).
152         * OracleMonthSpan.cs: Implemented methods CompareTo (object) and Equals (object).
153
154 2007-03-29 Leszek Ciesielski <skolima@gmail.com>
155         * OracleConnection.cs: consecutive calls to Open() do not spawn
156         multiple connections
157
158 2007-02-13 Leszek Ciesielski <skolima@gmail.com>
159         * OracleNumber.cs: added an internal IFormattable ToString
160         * OracleParameter.cs: added handling of OracleString, OracleDateTime,
161         OracleNumber
162
163 2007-01-04 Leszek Ciesielski <skolima@gmail.com>
164         * OracleParameter.cs:  padding the allocated memory  with 0's (this is what OCI
165         expects)
166
167 2006-10-19  Leszek Ciesielski <skolima@gmail.com>
168         * OracleConnection.cs: moved setting SessionFormatProvider from Open() into first access to it.
169         * OracleParameter.cs: made exception in InferOracleType a bit more verbose.
170
171 2006-10-17  Leszek Ciesielski <skolima@gmail.com>
172
173         * OracleCommand.cs: changed returned value of ExecuteScalar to null when no recods are
174         found
175         * OracleDataReader.cs: Marked GetSchemaTable with MonoTODO
176         * OracleParameter.cs: fixed the constructor (it ignored some
177         parameters and could not handle System.DBNull)
178         * OciDefineHandle.cs: applied patch for trimming strings with unicode,
179         although I can't test it :-/
180 2006-05-31  Gert Driesen  <drieseng@users.sourceforge.net>
181
182         * OciGlue.cs: Set eol-style to native.
183         * OracleBFile.cs: Set eol-style to native.
184         * OracleBinary.cs: Set eol-style to native.
185         * OracleBoolean.cs: Set eol-style to native.
186         * OracleCommandBuilder.cs: Set eol-style to native.
187         * OracleCommand.cs: Set eol-style to native.
188         * OracleConnection.cs: Set eol-style to native.
189         * OracleConnectionPool.cs: Set eol-style to native.
190         * OracleConnectionPoolManager.cs: Set eol-style to native.
191         * OracleDataAdapter.cs: Set eol-style to native.
192         * OracleDataReader.cs: Set eol-style to native.
193         * OracleDateTime.cs: Set eol-style to native.
194         * OracleException.cs: Set eol-style to native.
195         * OracleInfoMessageEventArgs.cs: Set eol-style to native.
196         * OracleInfoMessageEventHandler.cs: Set eol-style to native.
197         * OracleLob.cs: Set eol-style to native.
198         * OracleLobOpenMode.cs: Set eol-style to native.
199         * OracleMonthSpan.cs: Set eol-style to native.
200         * OracleNumber.cs: Set eol-style to native.
201         * OracleParameterCollection.cs: Set eol-style to native.
202         * OracleParameter.cs: Set eol-style to native.
203         * OraclePermissionAttribute.cs: Set eol-style to native.
204         * OraclePermission.cs: Set eol-style to native.
205         * OracleRowUpdatedEventArgs.cs: Set eol-style to native.
206         * OracleRowUpdatedEventHandler.cs: Set eol-style to native.
207         * OracleRowUpdatingEventArgs.cs: Set eol-style to native.
208         * OracleRowUpdatingEventHandler.cs: Set eol-style to native.
209         * OracleString.cs: Set eol-style to native.
210         * OracleTimeSpan.cs: Set eol-style to native.
211         * OracleTransaction.cs: Set eol-style to native.
212         * OracleType.cs: Set eol-style to native.
213
214 2006-05-31  Gert Driesen  <drieseng@users.sourceforge.net>
215
216         * OracleLob.cs: Explicitly implement IDisposable interface. Fixes
217         API signature warning for Dispose () method.
218         * OracleParameterCollection.cs: Removed explicit interface implemenation
219         of IList.IsFixedSize, IList.IsReadOnbly, IList.IsSynchronized and
220         IList.SyncRoot. Fixes API signature mismatches.
221         * OracleBFile.cs: Explicit implemenat IDisposable interface. Fixed
222         API signature warning for Dispose () method.
223         * OracleCommand.cs: Fixed line endings.
224         * OracleConnection.cs: Removed destructor, as the destructor in 
225         System.ComponentModel.Component already calls the Dispose (bool) method.
226         * OracleDataReader.cs: Fixed line endings.
227         * OracleDateTime.cs: Fixed line endings.
228         * OracleParameter.cs: Fixed line endings.
229
230 2006-02-27  Konstantin Triger <kostat@mainsoft.com>
231
232         * OracleDataAdapter.cs: Do not throw ArgumentException when null is passed.
233
234 2005-11-21  Senganal T   <tsenganal@novell.com>
235
236         * OracleCommandBuilder.cs :
237                 - ApplyParameterInfo - modified the args list
238                 - GetParameterName (string) - added
239         Changes for ado.net 2.0 api compatibility 
240
241 2005-04-06  Daniel Morgan <danielmorgan@verizon.net>
242
243         * OracleParameter.cs: implement IClonable.Clone() 
244         patch from eto@shaw.ca (Curtis)
245
246 2005-02-21  Sureshkumar T  <tsureshkumar@novell.com>
247
248         * OracleCommand.cs: set behavior for execute reader.
249         fixes bug #72607.
250
251 2005-02-15  Sureshkumar T  <tsureshkumar@novell.com>
252
253         * OracleDataReader.cs : GetBytes: return the length of the data if
254         output buffer is null. if not, copy the values to buffer and
255         return the bytes actually read.
256
257         fixes bug #72472.
258
259 2004-12-19  Daniel Morgan <danielmorgan@verizon.net>
260
261         * OracleCommand.cs: ExecuteReader needs to be able 
262         to handle non queries too
263
264 2004-09-14  Sebastien Pouliot  <sebastien@ximian.com>
265
266         * ChangeLog: New.
267         * OraclePermission.cs: Adapted to work for both Fx 1.1 and 2.0. Fx 1.1
268         version isn't complete (as anyway it requires FullTrust on MS 
269         implementation) but DO NOT throw exceptions (for the security engine).
270         * OraclePermissionAttribute.cs: Implemented CreatePermission. Adapted
271         to work for both Fx 1.1 and 2.0.