* System.Data.OracleClient/OracleParameter.cs: add
parameter support for LONG RAW and RAW data types
* System.Data.OracleClient.Oci/OciDefineHandle.cs: flush
extra assigning of types
svn path=/trunk/mcs/; revision=146885
* System.Data.OracleClient/OracleParameter.cs:
- if programmer explicitly sets the Size property,
do not override the size later if the Value property
is set for character data.
- for character and numeric data types, output and
return parameters were not allocated memory. Also,
input/output parameters need to allocate memory
based on Size because the output can be bigger than
the input after an execute.
* Test/TestOracleClient.cs: Data Adapter Test 2 is failing
for NET_2_0 profile.
svn path=/trunk/mcs/; revision=146683
* Test/testblob.cs
* Test/TestOracleClient.cs: update tests for parameter type of blob
* System.Data.OracleClient/OracleLob.cs: position was never
being reset to the offset causing the reading of a Blob to
be out of range
* System.Data.OracleClient/OracleParameter.cs: fixes for
character and blob types
svn path=/trunk/mcs/; revision=114050
* Test/TestOracleClient.cs: add tests
for TIMESTAMP Input, Output, InputOutput, Return
parameters and handle DBNull.Value too
* System.Data.OracleClient/OracleCommandBuilder.cs
* System.Data.OracleClient/OracleDataAdapter.cs: cleanup warnings
for default profile
* System.Data.OracleClient.Oci/OciDateTimeDescriptor.cs
* System.Data.OracleClient/OracleParameter.cs: fix parameters
for TIMESTAMP Input, Output, InputOutput, Return
parameters and handle DBNUll.Value via indicator = -1
However, TIMESTAMP WITH TIMEZONE and TIMESTAMP WITH LOCAL TIMESTAMP
not tested.
svn path=/trunk/mcs/; revision=113244
* System.Data.OracleClient/OracleParameter.cs: fixes
for OracleType.Blob parameters. Also some case statements
not properly tabbed.
svn path=/trunk/mcs/; revision=113121
* Test/TestOracleClient.cs: add tests for parameters
of oracle type CLOB, add tests for setting oracle type
directly or inferred via the value, and
clean up compile warnings
* System.Data.OracleClient/OracleParameter.cs: fix
for handling parameters of oracle type CLOB for
Input, Output, and Return. InputOutput is not supported.
And handle CLOB parameters that are DBNull.Value or
their value length is zero.
svn path=/trunk/mcs/; revision=112948
* System.Data.OracleClient/OracleConnection.cs: add stubs
for method GetSchema which is part of NET_2_0, and clean up warnings
* System.Data.OracleClient/OracleCommand.cs
* ystem.Data.OracleClient/OracleParameter.cs
* System.Data.OracleClient/OracleBFile.cs
* System.Data.OracleClient.Oci/OciHandle.cs: clean up warnings
* System.Data.OracleClient.Oci/OciDescriptorHandle.cs
* System.Data.OracleClient.Oci/OciDefineHandle.cs: make methods internal
svn path=/trunk/mcs/; revision=112925
* Test/TestOracleClient.cs: add test for LONG (long varchar)
testing paramters for Input, Output,
InputOutput, and ReturnValue and
situations when any of these could be DBNull.Value
* System.Data.OracleClient/OracleParameter.cs: fix
handling of parameters LONG (long varchar). However,
it probably would be better to implement LONG using
piecewise operation. Also, remove old code.
svn path=/trunk/mcs/; revision=112924
* Test/TestOracleClient.cs: fix typo,
enable more test,
Tests pass for parameters for Character, Number, and Date
for Input, Output, InputOutput, and ReturnValue and
situations when any of these could be DBNull.Value
* System.Data.OracleClient/OracleParameter.cs: fix
handling of parameters for character, number, and date
types. Need to redo all the other types based on the above.
* System.Data.OracleClient.Oci/OciDefineHandle.cs: rename private
method DefineLong to DefineLongVarChar
svn path=/trunk/mcs/; revision=112641
* Test/TestOracleClient.cs: get oracle connected tests
going again
* System.Data.OracleClient.Oci/OciDefineHandle.cs
* System.Data.OracleClient/OracleDataReader.cs
* System.Data.OracleClient/OracleCommand.cs: fix character
field value for a reader that was retrieved from a REF CURSOR.
It was failing due to OCI_INVALID_HANDLE - resolve the error
by passing a connection object which has a valid environment
handle.
* System.Data.OracleClient.Oci/OciCalls.cs: correct
call to OCIDefineByPos
* System.Data.OracleClient/OracleParameter.cs: better way to
determine if the input value Is Null instead of using reflection.
Flush - Re-arraning how variables are being bound.
* System.Data.OracleClient/OciGlue.cs: add function
to convert OCI Return / Error Status Code to a String Description
* System.Data.OracleClient.Oci/OciErrorHandle.cs: better
error handling
svn path=/trunk/mcs/; revision=112419
* System.Data.OracleClient/OracleCommand.cs: removed AssertNoDataReader
because oracle allows multiple result sets and has since .NET 1.0,
fix bug where REF CURSOR would not work for ExecuteReader or
filling a DataSet via an OracleDataAdapter. The REF CURSOR is used to
populate the DataSet.
* System.Data.OracleClient/OracleDataReader.cs: fix for getting
next result set; implement NET_2_0 methods
GetProviderSpecificFieldType,
GetProviderSpecificValuee,
GetProviderSpecificValue; and validate the reader is open
before allowing a Read or NextResult, otherwise, throw
an InvalidOperationException
* System.Data.OracleClient/OracleParameter.cs: fix for
getting one or more REF CURSOR out parameters if
ExecuteReader was called.
* System.Data.OracleClient.Oci/OciErrorHandle.cs
* System.Data.OracleClient.Oci/OciHandle.cs: add addiional method
for getting error, such as, INVALID_HANDLE being passed to OCI
svn path=/trunk/mcs/; revision=112250
* System.Data.OracleClient/OracleConnectionStringBuilder.cs: modified -
add missing connection options, correct case of some connection options,
added dictionary for mapping
defaults, for Item this indexer needs to return a default
for a valid keyword if it does not exist in the dictionary,
must override the Keys and Values collection to return all keys
and values whether or not they exist in the dictionary and if
they do not then return a default value for Values
svn path=/trunk/mcs/; revision=111783
* System.Data.OracleClient/OracleParameter.cs
* System.Data.OracleClient.Oci/OciStatementHandle.cs
* System.Data.OracleClient.Oci/OciDefineHandle.cs: fix bug
for GetOracleLob in OracleDataReader that was created
via a REF CURSOR. Bug occurred because the cursor when created
did not have a ServiceContext - this was solved by passing
the connection in which did. Fixes bug#350408. In OracleParameter, also
show the data type that is not implemented.
* Test/testblob.cs
* Test/TestOracleClient.cs: updated tests
* Test/refcursortest.cs: added ref cursor test with blob
svn path=/trunk/mcs/; revision=111595
* System.Data.OracleClient/OracleCommand.cs
* System.Data.OracleClient.Oci/OciHandle.cs
* System.Data.OracleClient.Oci/OciRowIdDescriptor.cs: fix
bug 378470 by fixing method ExecuteOracleNonQuery
by getting the Universal ROWID and
returning it as an output parameter OracleString.
This will only work for Oracle 9i clients and above.
svn path=/trunk/mcs/; revision=111525
* System.Data.OracleClient.dll.sources: added
files to build:
OracleClientFactory.cs
OracleConnectionStringBuilder.cs
* System.Data.OracleClient/OracleClientFactory.cs: added
method to file: DbConnectionStringBuilder and modified
CreateDataSourceEnumerator to return a null
* System.Data.OracleClient/OracleConnectionStringBuilder.cs: add
new file
svn path=/trunk/mcs/; revision=111478
* System.Data.OracleClient/OracleConnection.cs: allow
the use of a connection string which allows a
TNS network description that is parentheses delimited
like the following which has the hostname, port, and
service name without requiring use of a TNSNAMES.ORA
file.
User ID=SCOTT;Password=TIGER;Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.101)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=TESTDB)))
svn path=/trunk/mcs/; revision=111079
DbConnection and Dispose override. Code formatting.
* OracleLob.cs: Implemented Dispose overloads. Code formatting.
* OracleCommand.cs: Removed extra connection_timeout field. Fixed
DesignTimeVisible. Changed CommandText to return zero-length string
when underlying value is null. Fixed CommandTimeout to always
return 0. Implemented DbConnection, DbParameterCollection and
DbTransaction properties. Corcompare fixes for 2.0 profile.
* OracleTimeSpan.cs: In OracleTimeSpan ctor, throw NRE when from
is Null timespan. Fixed Hours property to actually return hours instead
of days. Modified Value to throw InvalidOperationException when
current instance is Null. Fixed explicit operator argument name.
* OracleRowUpdatingEventArgs.cs: Added missing BaseCommand override.
* OracleParameterCollection.cs: Removed extra internal ctor.
Corcompare fixes for 2.0 profile. On 1.0 profile, perform culture
sensitive and case-insensitive lookup. On 2.0 profile, first perform
case-sensitive lookup and fallback to case-insensitive lookup.
Set and remove Container where necessary, and perform checks for
ownership. Implemented AddRange overloads, and (Get/Set)Parameter.
Added several 2.0 overloads taking OracleParameter. Fixed exceptions
to match MS.
* OracleDataReader.cs: Corcompare fixes for 2.0 profile. Moved
disposing of schematable to Close, and invoke Close from Dispose.
Reduce casts. Stubbed methods introduced in 2.0 profile.
* OracleConnection.cs: Corcompare fixes for 2.0 profile. Changed
ConnectionString to return zero-length string when underlying value is
null. Removed explicit IDisposable implementation. Use string.Empty
instead of "". Code formatting.
* OracleMonthSpan.cs: Code formatting. Changed argument name of
explicit operator to match MS.
* OracleDataAdapter.cs: Code formatting. Fixed default ctor to use
null for SelectCommand. In 2.0 profile, set UpdateBatchSize to 1 and
throw AORE when setting it to negative value. Modified *Command setters
to throw InvalidCastException instead of ArgumentException. Removed
extra TableMappings property.
* OracleParameter.cs: Use zero-length string as default for
SourceColumn. Added missing 2.0 ctor. In ParameterName return zero
length string when name is null. Added SourceColumnNullMapping
property. Corcompare fixes for 2.0 profile. Code formatting.
* OracleBFile.cs: Added Dispose override for 2.0 profile.
* OracleDataAdapterTest.cs: Added ctor and basic property tests.
* OracleParameterCollectionTest.cs: Added tests for Clear,Count,Add,
Add,AddRange,Contains,indexers,IndexOf,Insert,Remove and RemoveAt.
* OracleCommandTest.cs: Added tests for ctors and CommandText,
CommandTimeout, ConnectionTimeout and Connection.
* OracleConnectionTest.cs: Added tests for ConnectionString and
ConnectionTimeout.
* OracleParameterTest.cs: Allow for disconnected tests. Added basic
ctor tests and test for ParameterName.
* OracleTimeSpanTest.cs: Added ctor tests. Added tests for IsNull,
MaxValue, MinValue, Null and ToString.
* System.Data.OracleClient_test.dll.sources: Added
OracleConnectionTest.cs, OracleDataAdapterTest.cs and
OracleTimeSpanTest.cs.
svn path=/trunk/mcs/; revision=102756
* System.Data.OracleClient.Oci/OciStatementHandle.cs : Get StatementType as a ushort value.
* System.Data.OracleClient.Oci/OciParameterDescriptor.cs : Get DataType as a ushort value.
Fixes bug #71318.
svn path=/trunk/mcs/; revision=57762
* System.Data.OracleClient/OracleConnection.cs: dispose of the
connection string and other fields
* Test/TestOracleClient.cs: tests for Intergrated Security
and Persist Secuirty Info connection string parameters
svn path=/trunk/mcs/; revision=54951
* System.Data.OracleClient/OracleConnection.cs: implement
support for connection parameter PERSIST SECURITY INFO and
correct what Clone() does
svn path=/trunk/mcs/; revision=54950
* System.Data.OracleClient/OracleConnectionPoolManager.cs
* System.Data.OracleClient/OracleConnectionPool.cs
* System.Data.OracleClient/OracleConnection.cs: for connection pooling, need to
dispose of any connection pools properly otherwise a SEGSIGV may happen trying
to detach from the server during finalization at exit of app
* System.Data.OracleClient/OracleDataReader.cs: need to make sure statement and command
exists during dispose because they are set to null when closed
svn path=/trunk/mcs/; revision=54588
* System.Data.OracleClient/OracleParameter.cs: free
unmanaged resources after update of values
2005-12-13 Daniel Morgan <[email protected]>
* System.Data.OracleClient.Oci/OciErrorHandle.cs patch
from "Hubert FONGARNAND" <[email protected]>
- fix error handling for non-English locales. Bug# 76623.
2005-12-13 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleParameter.cs: patch
from "Hubert FONGARNAND" <[email protected]>
- fix Timestamp when filling a DataSet. Bug# 76437.
2005-12-13 Daniel Morgan <[email protected]>
* System.Data.OracleClient/OracleParameter.cs: patch
from "Hubert FONGARNAND" <[email protected]>
- problems with OracleClob as input parameters
(when the input parameter is an OracleString,
mono crashes with a invalidcastexception)
- problems with OracleDateTime.Null, OracleString.Null
as input parameters (it works with DBNull.Value,
but it fails with those parameters)
svn path=/trunk/mcs/; revision=54271
need to override Message property (and fixing API mismatch). Fixed
serialization by also adding code to si.
* OracleCommandBuilder.cs: Removed usage of DataSysDescription to
fix API mismatches.
svn path=/trunk/mcs/; revision=51762
* System.Data.OracleClient/OracleCommandBuilder.cs: update
based on changes Suresh did to OdbcCommandBuilder, SqlCommandBuilder,
and DbDataAdapter
* System.Data.OracleClient/OracleParameter.cs
* System.Data.OracleClient.Oci/OciHandle.cs
* System.Data.OracleClient.Oci/OciCalls.cs
* System.Data.OracleClient.Oci/OciDataType.cs
* System.Data.OracleClient.Oci/OciParameterDescriptor.cs
* System.Data.OracleClient.Oci/OciStatementHandle.cs
* System.Data.OracleClient.Oci/OciDefineHandle.cs: with help
from Hubert FONGARNAND <[email protected]>
implement TIMESTAMP support via OciDateTime descriptor
* System.Data.OracleClient.dll.sources: add
OciDateTimeDescriptor.cs to build
* System.Data.OracleClient.Oci/OciDateTimeDescriptor.cs: add new
file to support Oracle TIMESTAMP using OciDateTime descriptor
svn path=/trunk/mcs/; revision=48254
* System.Data.OracleClient/OracleParameter.cs: apply
patch from
Hubert FONGARNAND <[email protected]>
to tranmit an input paramter that is a date in a binary format
instead of a character format to avoid culture
dependent problems
svn path=/trunk/mcs/; revision=47677
* System.Data.OracleClient/OracleDataReader.cs:
handle Owner (BaseSchemaName) correctly when
looking up KeyInfo on a table
svn path=/trunk/mcs/; revision=47373