Page 1 of 1

DotConnect nHibernate Sample

Posted: Thu 23 Nov 2017 20:56
by corelio
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?

Re: DotConnect nHibernate Sample

Posted: Tue 28 Nov 2017 06:55
by Shalex
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.

Re: DotConnect nHibernate Sample

Posted: Wed 05 Sep 2018 15:30
by cgibbons24
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.

Re: DotConnect nHibernate Sample

Posted: Fri 07 Sep 2018 14:03
by Pinturiccio
We have reproduced the issue. We will investigate it and post here about the results as soon as possible.

Re: DotConnect nHibernate Sample

Posted: Thu 13 Sep 2018 14:50
by cgibbons24
Any update?

Re: DotConnect nHibernate Sample

Posted: Fri 14 Sep 2018 14:16
by Pinturiccio
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.

Re: DotConnect nHibernate Sample

Posted: Thu 20 Sep 2018 12:47
by Pinturiccio
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