Skip to content

dominikwachow/orchard-oracle-support

 
 

Repository files navigation

Orchard 1.8.1 with Oracle 11g support

To run Orchard with Oracle database you have to copy Oracle client dlls to Orchard.Web\bin directory. Then you have to add application path to path variable. You can modify constructor in Orchard.Web\Global.asax.cs

    public MvcApplication() {
        // add application path to path variable for current process to be able to use DB drivers stored here (eg. Oracle)
        System.Environment.SetEnvironmentVariable("path",
            System.Environment.GetEnvironmentVariable("path") + ";" +
            System.AppDomain.CurrentDomain.RelativeSearchPath);
    }

Oracle limitations:

  • name of [table, column, index, constraint] is limited to 30 characters
  • for text-value column there is four different data types(with different permitted length): NVARCHAR2(2000), VARCHAR2(4000), CLOB, NCLOB
  • column names like 'Start', 'Number' are Oracle specific keywords and have to be quoted in sql queries

About

This is the Orchard source code which can support Oracle 11g.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • XML 66.6%
  • C# 24.7%
  • JavaScript 6.8%
  • CSS 1.1%
  • XSLT 0.4%
  • HTML 0.3%
  • Other 0.1%