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