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