[Mono-dev] System.data.oracleclient with dataset

Leszek Ciesielski skolima at gmail.com
Thu Jan 18 15:21:34 EST 2007


On 1/18/07, A Nagappan <anagappan at novell.com> wrote:
> Hi Ruffel,
>
>   I request you to file a bug on this -
> http://bugzilla.ximian.com/enter_bug.cgi?product=Mono%3A%20Class%20Libraries
> and in Component select 'System.Data'.
>
> Thanks
> Nagappan
>
> Nagappan A <anagappan at novell.com>
> Linux Desktop Testing Project - http://ldtp.freedesktop.org
> http://nagappanal.blogspot.com
>
> Novell, Inc.
> SUSE(r) Linux Enterprise 10
> Your Linux is ready™
> http://www.novell.com/linux
>
>
> >>> "Ruffel Antoine (DCTI)" <antoine.ruffel at etat.ge.ch> 01/15/07 7:52 PM
> >>>
> Hi,
>
>
>
> I'm testing the possibility to execute my applications (developed with
> visual studio 2005) with mono.
>
>
>
> I have some troubles with the use of System.data.oracleclient :
>
>   - First, I've done some tests with simple code found in
> http://www.mono-project.com/Oracle.
>
>             -> Compiled in a VS solution (with Microsoft dll 2.0.0.0)
>
>                         Execution OK with my Windows workstation
>
>                         Execution FAILED with Mono (Windows and Linux
> Suse 10.2) ->
>
> Unhandled Exception: System.InvalidOperationException: An open
> Connection object is required to continue.
>
>   at System.Data.OracleClient.OracleCommand.AssertConnectionIsOpen ()
> [0x00000]
>
>   at System.Data.OracleClient.OracleCommand.ExecuteReader
> (CommandBehavior behavior) [0x00000]
>
>   at System.Data.OracleClient.OracleCommand.ExecuteReader () [0x00000]
>
>   at (wrapper remoting-invoke-with-check)
> System.Data.OracleClient.OracleCommand:ExecuteReader ()
>
>   at EssaiMono.Program.Main (System.String[] args) [0x00000]
>
>             -> Compiled in a monodevelop solution (with mono dll
> 2.0.0.0)
>
>                         Execution FAILED with my Windows workstation
>
>                         Execution OK with mono (Windows and Linux Suse
> 10.2)
>
>             -> Compiled in a VS solution (with mono dll 2.0.0.0)
>
>                         Execution OK with my windows workstation
>
>                         Execution OK with mono (Windows and Linux Suse
> 10.2)
>
>
>
>
>
> -          Then, I decided to use the mono version of this
> System.data.OracleClient in my visual studio solutions (of applications
> I want to execute with mono). But, I have a lot of "dataset objects"
> that are "processed" by a MSDataSetGenerator to generate C# code. But
> this "generated source code" doesn't compile because of a constructor of
> OracleParameter which is not implemented in the mono version of
> System.data.OracleClient... what can I do ?
>
>
>
> Can you help me ?
>
>
>
> Sorry for this poor English ...
>
>
>
> Best regards,
>
>
>
> Antoine.
>
>
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>

OracleClient is missing most of it's .Net 2.0 API. I have some work to
fix this on it's way, but I cannot declare any binding deadlines.

With the curent state, I wouldn't expect any autogenerated code from
VS2005 to work with mono OracleClient - not only many methods are
missing, even the class hierarchy is wrong - it has changed between
1.1 and 2.0, and those changes have not been introduced to  mono.

-- 
MS-DOS user since 5.0
Windows user since 3.11
Linux user since kernel 2.4
Novell Netware user since 2.2
WARCRAFT user since 1.0



More information about the Mono-devel-list mailing list