Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Use oracle in DNN 4.7Use oracle in DNN 4.7
Previous
 
Next
New Post
2/28/2008 1:39 PM
 

Sahil, sorry, i am not connected with the developer of the oracle provider. IMO creating a provider is not a very difficult job, but there is a huge amount of stored procedures and generation scripts to be migrated and being tested, that I expect, you need a huge motivation to start such a project for the core and modules. There had been a project to create a firebird provider, which was cancelled after a year, since the necessary effort was to much for the volunteer team


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/28/2008 4:12 PM
 

Sahil,

If you just want to use Oracle in your own modules there is a simple solution. Look at Entity Spaces http://www.entityspaces.net/portal/.

I use ES for my modules and regularly access a database other than the DNN SQL db. Apart from giving you the ability to access Oracle it will also save you lots of time because it generates all your db access code and Stored Procedures.

 

As an example - this is my function to read my db:

Code:
Public Function CustomGetEventsByRange(ByVal ModID As Integer, _
                                               ByVal StartDate As DateTime, _
                                               ByVal EndDate As DateTime, _
                                               ByVal Category As String) As Boolean

            Dim esParms As esParameters = New esParameters()
            With esParms
                .Add("Modules", ModID)
                .Add("StartDate", StartDate)
                .Add("EndDate", EndDate)
                .Add("Category", Category)
            End With

            Return MyBase.Load(esQueryType.StoredProcedure, "dws_SimpleEventsGetByRange", esParms)

        End Function

 

In this case I am calling my own custom SP.

Go look at it I expect you will be impressed.

FYI: my only connection with Entity Spaces is that I am a very happy customer


 
New Post
3/12/2008 11:12 AM
 

To use 1 specific module that uses oracle you could just define a custom connection in your module and connect out to oracle. ?

more explanation please ?

1) I have a dnn running with sql server and the core modules running with sqlserver.
2) I would like to make a specific module under oracle who lives with him
3) I respect the model of dnn module development , so I have my oracledataprovider  class and class oraclehelper redefined.
4) how to connect to my oracle provider without defining oracle provider for the entire site.In the webconfig there is only one node  data wich defined default  provider .But how to connect the module that I developed on my oracledataprovider class (using the DAL) without changing the sqldataprovider default?
Is this possible?

Thanks for your reply
finlor

 
New Post
3/12/2008 12:01 PM
 

pinard mathieu wrote

To use 1 specific module that uses oracle you could just define a custom connection in your module and connect out to oracle. ?

more explanation please ?

1) I have a dnn running with sql server and the core modules running with sqlserver.
2) I would like to make a specific module under oracle who lives with him
3) I respect the model of dnn module development , so I have my oracledataprovider  class and class oraclehelper redefined.
4) how to connect to my oracle provider without defining oracle provider for the entire site.In the webconfig there is only one node  data wich defined default  provider .But how to connect the module that I developed on my oracledataprovider class (using the DAL) without changing the sqldataprovider default?
Is this possible?

Thanks for your reply
finlor

In your oracledataprovider class that you've created for your module, you would override the section that reads the data connection string and point it to some other section from web.config. This would allow you to specify in web.config a separate connection string for your oracle database.

In your stored procedure calls to the db, you would also have to use the oracle version of the datareader classes, etc so as to pull the right data from Oracle. If you pass in to this the new connection string for Oracle, this would allow you to connect to Oracle and retrieve whatever data you need.
The one thing that might be tricky to do is that DNN uses reflection to determine which dataprovider to use (ie which dataprovider.dll to use).. In your case, since your site itself is in SQL Server, I'm pretty sure it would try and load your SQL Server version of the dataprovider class - what you could do is fool the system to think that it's using the SQL Server version by naming your oracledataprovider to be sqldataprovider.

Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post
3/12/2008 2:33 PM
 

I managed the Firebird project and working on that made me realize that keeping a data provider up to date is a big job.

This company has provided a DotNetNuke Oracle provider for YEARS:

http://www.acuitisolutions.com/tabid/73/Default.aspx



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Use oracle in DNN 4.7Use oracle in DNN 4.7


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out