Commit Graph
8 Commits
Author SHA1 Message Date
Daniel Morgan 919c473487 2005-12-13 Daniel Morgan <[email protected]>
* 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
2005-12-13 05:06:34 +00:00
Daniel Morgan 623727e08d REF CURSOR support. See ChangeLog for 2005-12-11 Daniel Morgan <[email protected]>
svn path=/trunk/mcs/; revision=54216
2005-12-11 22:38:21 +00:00
Daniel Morgan 8970063146 2005-08-10 Daniel Morgan <[email protected]>
* 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
2005-08-11 02:06:06 +00:00
Daniel Morgan be424fd23b 2005-02-20 Daniel Morgan <[email protected]>
* 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
2005-02-20 10:52:16 +00:00
Tim Coleman fe3197aa40 Submitted thanks to patch from Joerg Rosenkranz ...
2004-01-09  Joerg Rosenkranz  <[email protected]>

        * System.Data.OracleClient.Oci/OciCalls.cs:
                Added. It contains all external OCI calls which are
                removed from all other files.
        * System.Data.OracleClient/OciGlue.cs:
                Fix for #52699 (OCI not thread safe).
        * System.Data.OracleClient.Oci/OciHandle.cs:
                Introduced special handling for Bind, Define and
                Environment handles in FreeHandle. Revised the handling for
                other types. Minor change in Dispose.
                Replaced OCI calls.
        * System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
                Special handling for Parameter handles in FreeHandle.
                Replaced OCI calls.
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
                Character types are converted using the DefaultEncoding.
                Replaced OCI calls.
        * System.Data.OracleClient/OracleCommand.cs:
                Dispose created OciStatementHandles.
        * System.Data.OracleClient/OracleDataReader.cs:
                Dispose used OciStatementHandle.
        * System.Data.OracleClient/OracleTransaction.cs:
                Dispose transaction handle.
        * System.Data.OracleClient.Oci/OciStatementHandle.cs:
                OCI_INVALID_HANDLE results in exception "Invalid handle."
                Replaced OCI calls.
        * System.Data.OracleClient.Oci/OciTransactionHandle.cs:
                Introduced DetachFromServiceContext which is called in Commit
                and Rollback (Fix for #52702).
        * System.Data.OracleClient/OracleParameter.cs:
        * System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
        * System.Data.OracleClient.Oci/OciErrorHandle.cs:
        * System.Data.OracleClient.Oci/OciLobLocator.cs:
        * System.Data.OracleClient.Oci/OciServerHandle.cs:
        * System.Data.OracleClient.Oci/OciServiceHandle.cs:
        * System.Data.OracleClient.Oci/OciSessionHandle.cs:
                Replaced OCI calls.

svn path=/trunk/mcs/; revision=21877
2004-01-09 14:52:39 +00:00
Tim Coleman 0657be2d9c 2003-03-08 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/OciRowIdDescriptor.cs:
        * list:
                New class added
        * System.Data.OracleClient/OciGlue.cs:
        * System.Data.OracleClient/OracleDataReader.cs:
        * System.Data.OracleClient/OracleLob.cs:
        * System.Data.OracleClient.Oci/OciBindHandle.cs:
        * System.Data.OracleClient.Oci/OciDataType.cs:
        * System.Data.OracleClient.Oci/OciDefineHandle.cs:
        * System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
        * System.Data.OracleClient.Oci/OciErrorHandle.cs:
        * System.Data.OracleClient.Oci/OciHandle.cs:
        * System.Data.OracleClient.Oci/OciLobLocator.cs:
        * System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
        * System.Data.OracleClient.Oci/OciServerHandle.cs:
        * System.Data.OracleClient.Oci/OciServiceHandle.cs:
        * System.Data.OracleClient.Oci/OciSessionHandle.cs:
                Small changes
        * System.Data.OracleClient/OracleBoolean.cs:
                Change Null definition
        * System.Data.OracleClient/OracleCommand.cs:
                More implementation, more toward getting ExecuteOracle*
        * System.Data.OracleClient/OracleConnection.cs:
                Add new handle properties
        * System.Data.OracleClient/OracleParameter.cs:
        * System.Data.OracleClient.Oci/OciStatementHandle.cs:
                Move binding operation to oracle parameter.

svn path=/trunk/mcs/; revision=12356
2003-03-08 22:37:09 +00:00
Tim Coleman 8c246fd3c7 2003-03-04 Tim Coleman <[email protected]>
* System.Data.OracleClient.Oci/IOciDescriptorHandle.cs:
	* System.Data.OracleClient.Oci/IOciHandle.cs:
	* System.Data.OracleClient.Oci/OciDescriptorType.cs:
		Removed. These are no longer used.
	* System.Data.OracleClient.Oci/OciParameterDescriptor.cs:
		Add new class
	* list:
		Add System.Data.OracleClient.Oci/OciParameterDescriptor.cs
		Rem System.Data.OracleClient.Oci/IOciDescriptorHandle.cs
		Rem System.Data.OracleClient.Oci/IOciHandle.cs
		Rem System.Data.OracleClient.Oci/OciDescriptorType.cs
	* System.Data.OracleClient/OciGlue.cs:
		Move the OCIAttrGet* methods into OciHandle
	* System.Data.OracleClient/OracleDataReader.cs:
	* System.Data.OracleClient/OracleParameter.cs:
		Change the way that columns are bound and described
	* System.Data.OracleClient.Oci/OciBindHandle.cs:
	* System.Data.OracleClient.Oci/OciDefineHandle.cs:
	* System.Data.OracleClient.Oci/OciDescriptorHandle.cs:
	* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
	* System.Data.OracleClient.Oci/OciErrorHandle.cs:
	* System.Data.OracleClient.Oci/OciHandle.cs:
	* System.Data.OracleClient.Oci/OciLobLocator.cs:
	* System.Data.OracleClient.Oci/OciServerHandle.cs:
	* System.Data.OracleClient.Oci/OciServiceHandle.cs:
	* System.Data.OracleClient.Oci/OciSessionHandle.cs:
	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
	* System.Data.OracleClient.Oci/OciTransactionHandle.cs:
		All handles now derive from OciHandle, and these classes
		have been rewritten as such.  Also attempted to implement
		the Dispose () methods for these classes.
	* System.Data.OracleClient.Oci/OciHandleType.cs:
		Add descriptor types into here because handles and
		descriptors are used in many of the same OCI functions.

svn path=/trunk/mcs/; revision=12176
2003-03-04 13:50:35 +00:00
Tim Coleman c559a7bf4d 2003-02-12 Tim Coleman <[email protected]>
* System.Data.OracleClient/OracleException.cs:
	* System.Data.OracleClient.Oci/IOciHandle.cs:
	* System.Data.OracleClient.Oci/OciEnvironmentHandle.cs:
	* System.Data.OracleClient.Oci/OciErrorHandle.cs:
	* System.Data.OracleClient.Oci/OciErrorInfo.cs:
	* System.Data.OracleClient.Oci/OciHandle.cs:
	* System.Data.OracleClient.Oci/OciServerHandle.cs:
	* System.Data.OracleClient.Oci/OciServiceHandle.cs:
	* System.Data.OracleClient.Oci/OciSessionHandle.cs:
	* System.Data.OracleClient.Oci/OciStatementHandle.cs:
	* System.Data.OracleClient.Oci/OciTransactionHandle.cs:
	* list:
		New classes added.  This encapsulates the OCI
		functionality into Handle objects.
	* System.Data.OracleClient/OciGlue.cs:
		Move a lot of code into Handle classes.
	* System.Data.OracleClient/OracleCommand.cs:
	* System.Data.OracleClient/OracleConnection.cs:
	* System.Data.OracleClient/OracleTransaction.cs:
		Retrofit for changes in OciGlue.

svn path=/trunk/mcs/; revision=11538
2003-02-13 00:50:39 +00:00