* 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
* System.Data.OracleClient/OracleCommandBuilder.cs:
implemented a working OracleCommandBuilder based on
current SqlCommandBuilder
* System.Data.OracleClient/OracleCommand.cs: added
placeholder for DeriveParamters
* System.Data.OracleClient/OracleDataReader.cs:
- sometimes trying to get records affected
throws an exception
- set BaseColumnName to the ColumnName
in the Schema table
if the command behavior is KeyInfo
- only try to Read if there are rows to read
* Test/OracleAdapterTest.cs: removed file
because adapter tests added to TestOracleClient.cs
* Test/TestOracleClient.cs: added tests
- test ExecuteReader and records affected
executing a Non-Query
- test Inserts/Updates/Deletes with a
DataSet, Data Adapter, and Command Builder
svn path=/trunk/mcs/; revision=47362
* System.Data.OracleClient/OracleCommand.cs: support
CommandBehavior of SchemaOnly
* System.Data.OracleClient/OracleCommandBuilder.cs:
implement OracleCommandBuilder. Does not work yet.
* System.Data.OracleClient/OracleDataReader.cs:
implement CommandBehavior of KeyInfo which is required
for OracleCommandBuilder. Correct data retreived via
GetSchemaTable()
* System.Data.OracleClient.Oci/OciParameterDescriptor.cs: add
method to convert a OciDataType enum to OracleDataType enum
* System.Data.OracleClient.Oci/OciStatementHandle.cs: allow
execute of DescribeOnly to support CommandBehavior.SchemaOnly
* Test/OracleAdapterTest.cs: add file for adapter tests
svn path=/trunk/mcs/; revision=47156
* System.Data.OracleClient/OracleParameter.cs
* System.Data.OracleClient/OracleCommand.cs
* System.Data.OracleClient/OracleDataReader.cs: support
Output parameters. Return and InputOutput are TODO. Input
already supported. TODO for handling NULL indicator on Output params.
* System.Data.OracleClient/OracleConnection.cs: remove
compile warning
* Test/TestOracleClient.cs: add tests for out parameters
svn path=/trunk/mcs/; revision=47076
- Applied patch by Hubert FONGARNAND
<[email protected]>
- Had to re-format according to mono style
and remove Console.WriteLines
- Made sure maxPoolSize and minPoolSize can be specified
via the connection string, and that pooling can be disabled
- if the next opened connection surpasses the max pool size, it waits
for a specified time in milliseconds, if it did not
get another connection from the connection pool,
throw an InvalidOperationException for timeout expired
* System.Data.OracleClient.dll.sources: add
OracleConnectionPool.cs to the build
* System.Data.OracleClient/OracleConnection.cs: modified
- add connection pooling to OracleClient
- GetNlsInfo () was not using the passed handle, it was always
a session handle
* System.Data.OracleClient/OracleConnectionPoolManager.cs
* System.Data.OracleClient/OracleConnectionPool.cs: added
new file for connection pooling in OracleClient
* System.Data.OracleClient/Test/TestOracleClient.cs: added tests
for OracleClient connection pooling
svn path=/trunk/mcs/; revision=41480
* System.Data.OracleClient/OracleParameter.cs: modified
- fix for input parameters for strings, dates,
CLOBs, and other types
to use OCIUnicodeToCharSet to convert
the string to bytes that are in Oracle's character set
- fix for input parameters for BLOBs to
use OciDataType.LongRaw instead of Long
- fix for Raw data type
thanks to [email protected] (Curtis) which fixes bug #72416
and also fix "System.DataType"
to "System.DateTime" in InferOracleType
* Test/TestOracleClient.cs: handle byte[] from OracleDataReader.GetValue()
svn path=/trunk/mcs/; revision=41230
* System.Data.OracleClient/OracleDataReader.cs: use ICovertible
to convert data types for GetDateTime, GetInt64, GetInt32, GetFloat,
GetDouble, GetDecimal. Fixes bug #53391.
* Test/TestOracleClient.cs: updated OracleClient tests for
these functions
svn path=/trunk/mcs/; revision=40963
* System.Data.OracleClient/OracleDateTime.cs: modified -
added functions for converting the date format strings between
OracleDateTime and DateTime based on
the NLS_DATE_FORMAT on the Oracle server
* System.Data.OracleClient/OracleConnection.cs: implement
internal function GetNlsInfo to get NLS info from the Oracle server
for the session or environment. Also, implemented function
GetSessionNlsDateFormat to get Oracle's NLS_DATE_FORMAT string
* System.Data.OracleClient/OracleParameter.cs: for input parameters,
fixed setting the parameter value to DBNull.Value and fixed the
setting of a DateTime or OracleDateTime. Tried to fix CLOBs/BLOBs, but
it is still a TODO.
* Test/TestOracleClient.cs: updated the parameters test
* System.Data.OracleClient.Oci/OciHandle.cs: implement
internal function SetAttributeString
* System.Data.OracleClient.Oci/OciCalls.cs: add DllImport
OCIBindByNameBytes so byte array can be passed instead of IntPtr
for the value, add DllImport OCIDateTimeFromText,
and added DllImport for OCINlsGetInfo to get NLS info,
such as, NLS_DATE_FORMAT
* System.Data.OracleClient.Oci/OciAttributeType.cs: added
attribute for date format (not used)
* System.Data.OracleClient.Oci/OciNlsServiceType.cs: added new file
for an enum to hold NLS Service types which is to be used with GetNlsInfo()
in OracleConnection
* System.Data.OracleClient.dll.sources: added OciNlsServiceType.cs to
the build
svn path=/trunk/mcs/; revision=40926
* System.Data.OracleClient/OracleDataReader.cs: add LONG
to GetOracleValue to return an OracleString
* System.Data.OracleClient.Oci/OciDefineHandle.cs: add
LONG VARCHAR support. See DefineLong ()
for LAMESPEC about OCI
* Test/TestOracleClient.cs: add LONG to Oracle tests
svn path=/trunk/mcs/; revision=40229
* Assembly/AssemblyInfo.cs: updated copyright
* System.Data.OracleClient/OracleCommand.cs: add
connection string parameter "Server" and
removed "Database" to match .NET
* System.Data.OracleClient/OracleLob.cs: handle
BLOBs and CLOBs that are not null, but are empty
* System.Data.OracleClient/OracleCommand.cs: started
implementing Clone and ExecuteOracleScalar
* System.Data.OracleClient/OracleDataReader.cs: modified
- ms.net has GetDataTypeName return data types upper case
- implement GetFieldType
- implement GetOracleValues, GetOracleValue,
GetOracleDateTime, GetOracleNumber, GetOracleString
- modified GetOracleLob based on internal change
- fix GetSchemaTable to return the correct "DataType"
instead of always being System.String
- GetValue should return Blobs as a byte array and Clobs
as a string
- Test/TestOracleClient.cs: updated Mono Oracle Tests
- System.Data.OracleClient.Oci/OciCalls.cs: update
DllImports for data type, actual data size, and iters
* System.Data.OracleClient.Oci/OciDefineHandle.cs: modified
- added properties for precision and field type
- if ROWID is specified in a SELECT statement, handle
the data type of OciDataType.RowIdDescriptor by just
treating it as 10 byte string
- do not free a HGlobal handle for a LOB since they do
not get a HGlobal created for them
- GetValue should return an OracleLob for BLOBs and CLOBs
* System.Data.OracleClient.Oci/OciDataType.cs: make enum
OciDataType to be uint
* System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
- add function to convert Oracle's data type name
to .net data type name
* System.Data.OracleClient.Oci/OciRowIdDescriptor.cs: flush
svn path=/trunk/mcs/; revision=38419
* System.Data.OracleClient/OracleCommandBuilder.cs:
Fixed namespace.
* System.Data.OracleClient.dll.sources:
Added OracleCommandBuilder.cs.
2004-05-26 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Merged in a fix send by Rogerio Pereira Araujo
<[email protected]>: Fixed a bug with NUMBER data type
when no parameter is passed to OracleCommand.
svn path=/trunk/mcs/; revision=28333
* System.Data.OracleClient/OracleCommand.cs:
* System.Data.OracleClient/OracleDataReader.cs:
* System.Data.OracleClient.Oci/OciStatementHandle.cs: patch by Eduard
Nesiba that implements autocommit behavior for non query statement
which is out of transaction. In previous implementation changed rows
stayed locked until client disconnect and hasRows proper settings.
svn path=/trunk/mcs/; revision=28019
2004-03-31 Joerg Rosenkranz <[email protected]>
* System.Data.OracleClient.Oci/OciDefineHandle.cs:
Changed DefineChar to allow retrieval of
multibyte characters (i.e. german umlauts).
* System.Data.OracleClient.Oci/OciStatementHandle.cs:
OciDefineHandles are now disposed in the
Dispose function.
svn path=/trunk/mcs/; revision=24996