Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to write a .Net application that works with both SqlServer and Oracle (now that System.Data.OracleClient is deprecated)
    primarykey
    data
    text
    <p>see also <a href="https://stackoverflow.com/questions/1004484/system-data-oracleclient-namespace-discontinued">System.Data.OracleClient namespace discontinued?</a></p> <p>(Firstly don’t panic yet, System.Data.OracleClient is not being removed by Microsoft yet, however it is not in the client version of .net 4)</p> <p>This use to be possible by using System.Data.OracleClient, <a href="http://blogs.msdn.com/adonet/archive/2009/06/15/system-data-oracleclient-update.aspx?CommentPosted=true#commentmessage" rel="nofollow noreferrer">however Microsoft has decided to deprecate OracleClient</a>. (OracleClient is the ADO.NET provider for Oracle developed by Microsoft and ships as a part of the .NET Framework.)</p> <p>You could use ODP.Net, however do you wish your Sql Server customers to have to install ODP.Net? (Do you wish any of your customers to have to install Oracle software?)</p> <p><a href="http://www.datadirect.com/products/net/index.ssp" rel="nofollow noreferrer">DataDirect</a> is not an option as it costs an arm and a leg; it may just about be affordable if you need to connect a single server to a mainframe. However it is not an option to expect all customers to buy it.</p> <p>Moving form C# to Java is not a good option, as I am a C# programmer and wish to be able to earn a living!</p> <p>Like most ISVs that have to support multiple RDBMS we only need a solution that allows us to use the small subset of Oracle that is the same as SqlServer. Therefore System.Data.OracleClient was powerful enough for us.</p> <p>(Maybe we should just start storing all data in flat files, so that customer’s DBA stop trying to tell us how to write software. Oracle DBAs are the worse!)</p> <hr> <p>My real question is how can I write .NET software that talks to Oracle that is us pain free to installed as .NET software that talks to SqlServer. Having to use ODP.NET just makes the oracle client install yet more painful, with yet more to go wrong.</p> <p>If I was using JAVA I could just use JDBC type 4 drivers. Microsoft provides one for SqlServer and Oracle provides one for Oracle. However it seems that Oracle wishes to make .Net usage as hard as possible and Microsoft wishes to make Oracle usage as hard as possible.</p> <hr> <p>So far the <strong>best option</strong> looks like <a href="http://www.devart.com/dotconnect/oracle/" rel="nofollow noreferrer">devArt's dotConnect</a>. </p> <p><em>However I am starting to question weather .NET is a good development system for ISV, as sooner or later you always get a customer that demands oracle support. In the Java world they seem to have this problem solved.</em></p> <hr> <p>It looks like Oracle may be about to bring out a senible Fully Managed ADO.NET provider themselfs it may even be easy to install! see <a href="http://www.oracle.com/technetwork/topics/dotnet/tech-info/ow2010-whatsnew-dotnet-177300.pdf" rel="nofollow noreferrer">here</a> that claims Beta – 2011, Production – End of 2011.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload