[Mono-dev] Oracle Data Client issue

Daniel Morgan monodanmorg at yahoo.com
Wed Feb 18 11:11:41 EST 2009


I will try to commit it later today.  Unless, someone else beats me first.  

Do you have a simple re-runnable test case?  It does not have to be nunit.  Just a simple program will do.  A test case that fails without the fix but works with the fix.

These days, I use the virtual machine with opensuse and mono from mono-project.com download page.  I don't even both installing oracle on it.  I just install the oracle instant client, set envrionment variables, make sure mono's etc/mono/config file points to the correct libclntsh.so file, and that I have a tnsnames.ora file poining to a remote oracle database.  My environment variables I set are: PATH, LD_LIBRARY_PATH, and TNS_ADMIN.  

--- On Wed, 2/11/09, russell.kay at realtimeworlds.com <russell.kay at realtimeworlds.com> wrote:

> From: russell.kay at realtimeworlds.com <russell.kay at realtimeworlds.com>
> Subject: [Mono-dev] Oracle Data Client issue
> To: mono-devel-list at lists.ximian.com
> Date: Wednesday, February 11, 2009, 10:04 AM
> All,
> 
>  
> 
> I have encountered a problem with the Oracle Data Client
> when porting an
> application over from Windows, basically we are using
> NHibernate as a
> frontend to the database and we have recently moved the
> backend from
> MySQL (for development) to Oracle (for deployment) and we
> encountered a
> problem with the System.Data.OracleClient basically not
> handling the
> OciDataType.Float and OciDataType.Integer.
> 
>  
> 
> I have checked with our resident Database experts and they
> assure me
> that this is the way it should be,  can someone who knows
> the inner
> workings of this code please take a look and verify that my
> patch (which
> seems to work, for our purposes) is the correct way to go.
> 
>  
> 
> All contributions under the MIT X11 license.
> 
>  
> 
> Regards
> 
>  
> 
> Russell
> 
> 
> ____________________________________________________________________
> DISCLAIMER
> 
> This message and any attachments contain privileged and
> confidential information intended for the use of the
> addressee named above. If you are not the intended recipient
> of this message, you are hereby notified that any use,
> dissemination, distribution or reproduction of this message
> is prohibited. Please note that we cannot guarantee that
> this message or any attachment is virus free or that it has
> not been intercepted and amended. The views of the author
> may not necessarily reflect those of Realtime Worlds Ltd.
> 
>  
> 
> Realtime Worlds Ltd is registered in Scotland, number
> 225628. Registered Office: 152 West Marketgait, Dundee, DD1
> 1NJ._______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list


      


More information about the Mono-devel-list mailing list