README.TXT 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. README.TXT for Mono Oracle 8i data provider
  2. Located at
  3. mcs/class/System.Data.OracleClient
  4. Requirements:
  5. 1. C#/CLR compiler. (only tried with Visual Studio.NET)
  6. to build the OracleClient assembly.
  7. 2. C compiler (only tried with the command-line c compilers
  8. Borland C++ 5.5 and Visual C++ 7.0) that can build
  9. the OracleClient glue shared library.
  10. A free command-line
  11. version of the Borland C++ 5.5 compiler
  12. for Win32 can be downloaded
  13. from http://www.borland.com/
  14. 3. Oracle 8i client software via either of the following:
  15. a. Oracle 8i client with access to an Oracle 8i database
  16. b. Oracle 8i server
  17. Either one, the client software needs to include the
  18. oci shared library. This is oci.dll on Win32.
  19. Oracle 8i can be downloaded from
  20. http://www.oracle.com/
  21. 4. GLIB 2.0. You should already have this installed since
  22. Mono requires it. It can be downloaded from
  23. http://www.gtk.org/
  24. or for Win32, it can be downloaded from
  25. http://www.gimp.org/win32
  26. Notes:
  27. I seriously doubt this will build within the
  28. mcs/class/System.Data.OracleClient directory
  29. structure. Maybe, moving the project files to
  30. a simpler directory structure may help.
  31. There are two parts:
  32. 1. assembly System.Data.OracleClient.dll which
  33. includes files OracleCommand.cs and OracleConnection.cs
  34. 2. unmanaged System.Data.OracleClient.ociglue.dll which
  35. must be built with a compiler that can link with the
  36. oci shared library. On Windows,
  37. the Oracle shared library oci.dll
  38. This shared library provides the glue between
  39. System.Data.OracleClient.dll and oci.dll
  40. How to build the various parts:
  41. 1. System.Data.OracleClient.dll is built
  42. using Visual Studio.NET 1.0 via its projects files
  43. I have not tried building it
  44. via only the .NET Framework 1.0 command-line tools.
  45. 2. System.Data.OracleClient.ociglue.dll is built by the
  46. C compiler that can build a native c shared library
  47. that can link with the Oracle 8i oci shared libary and
  48. the GLIB 2.0 shared library. A Makefile for
  49. command-line compilers for Borland C++ 5.5
  50. and Visual C++ 7.0 I have only tried building this
  51. on Windows XP.
  52. TODO:
  53. 1. get the OracleClient assembly to run on mono
  54. 2. get the OracleClient glue lib to build with mcs on mono
  55. 3. get the OracleClient to build with gcc
  56. 4. get the OracleClient assembly and glub lib to
  57. build with mcs on mono and run on mono on GNU/Linux
  58. 5. Add transactions
  59. 6. Add a data reader and retrieve simple data types
  60. 7. Add parameters (binding variables)
  61. 8. Add a data adapter
  62. 9. add connection pooling support
  63. 10. add more complex types
  64. 11. add support for stored procedures, functions, and packages
  65. 12. add support for security permissions
  66. 13. add ability to execute queries in SQL# CLI
  67. 14. add ability to execute queries in SQL# For GTK#