Hi. I am trying to use DotConnect Driver (9.5.381) with Oracle 11g and nHibernate 4.1.
I used a code based on a old post from 2010
https://blog.devart.com/nhibernate_and_oracle.html
However, the code uses Devart.Data.Oracle.NHibernate.* classes which I can not find anywhere.
public DevartOracleDriver()
: base("Devart.Data.Oracle",
"Devart.Data.Oracle.NHibernate.NHibernateOracleConnection",
"Devart.Data.Oracle.NHibernate.NHibernateOracleCommand")
{
}
Is this code still working? Any hints on how to solve this?
DotConnect nHibernate Sample
Re: DotConnect nHibernate Sample
Both Devart.Data.Oracle.NHibernate.NHibernateOracleConnection and Devart.Data.Oracle.NHibernate.NHibernateOracleCommand classes are available in Devart.Data.Oracle.dll of Professional version.
These classes are internal. You can use them like described in the tutorial.
These classes are internal. You can use them like described in the tutorial.
-
- Posts: 2
- Joined: Wed 05 Sep 2018 15:26
Re: DotConnect nHibernate Sample
Do these classes exist in the nuget.org version of Devart.Data.Oracle.dll? Using the example shown I get an error that those classes can't be found, even though I have an entry in the app.config. This is running on dotnet core on linux, so there is no GAC. However I get the same error running locally. I haven't added the dll to the gac locally either so as not to mask issues.
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: DotConnect nHibernate Sample
We have reproduced the issue. We will investigate it and post here about the results as soon as possible.
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: DotConnect nHibernate Sample
We have fixed the bug with not presenting Devart.Data.Oracle.NHibernate.NHibernateOracleConnection and Devart.Data.Oracle.NHibernate.NHibernateOracleCommand classes in the .Net Core NuGet package. We will post here when the corresponding build of dotConnect for Oracle is available for download.
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
Re: DotConnect nHibernate Sample
New build of dotConnect for Oracle 9.6.597 is available for download.
It can be downloaded from https://www.devart.com/dotconnect/oracle/download.html (trial version) or from Customer Portal (for users with valid subscription only).
We have also updated our NuGet package: https://www.nuget.org/packages/Devart.Data.Oracle/
For more information, please refer to viewtopic.php?t=37715
It can be downloaded from https://www.devart.com/dotconnect/oracle/download.html (trial version) or from Customer Portal (for users with valid subscription only).
We have also updated our NuGet package: https://www.nuget.org/packages/Devart.Data.Oracle/
For more information, please refer to viewtopic.php?t=37715