[Mono-dev] Oracle and Mono
Thracx
SpamMonkey01+Mono at gmail.com
Thu Oct 23 12:08:29 EDT 2008
Wow, thanks for the excellent introduction Daniel! I'll be working with
trying to get my MS C# app to work on Solaris 10 SPARC via Mono v2.0 and
I'll try to submit patches for anything that I find which needs fixing. You
provided a great introduction that will help me dig into this codebase a lot
faster than I probably could have otherwise.
I haven't run the test you mentioned yet, but thus-far I've managed to use
an OracleDataReader to get NUMBER, STRING, and CLOB (LOB) Oracle datatypes
without to much trouble.
Mainly to document my progress in case others could use it in the meantime,
the only real issue that I've run into so far is for the CLOB, where I would
normally get the data via reader.GetString(i), which works on MS .NET on
Windows/x86 but yields ????s on Solaris. However, if I get the data as
byte[] and then convert manually, it works. On Windows, I have to use
System.Text.Encoding.Convert from Unicode to ASCII, which fails on Solaris
(yields ???s). However, if I convert from BigEndianUnicode or UTF8 to
ASCII, it works on Solaris but fails on Windows. This is probably what
needs to be wrapped into the default Oracle calls. I'll try to post other
details as I find them.
-Thracx
Daniel Morgan-3 wrote:
>
> ....<lots of good information>....
>
--
View this message in context: http://www.nabble.com/Oracle-and-Mono-tp19881320p20134192.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list