Comments (2)
I also could not believe in this. But confirmation was simple - by adding/removing NuGet I got error or not. Fully repeatable.
I cannot imagine what mechanism would affect NHibernate to generates queries differently.
I've just tested that version 2.3.3 works for me.
I've reverted to NEL 2.3.1. it appears that build folder contains NHibernate.dll version 5.3.11.0 .
I had my NH 5.2 library taken from local libs folder and NEL from NuGet. Probably NEL took another NH from net and overridden local version.
So my code was compiled with 5.2 and run with 5.3 and this is the source of problems.
I should have NHibernate from Nuget. Probably then NHibernate library would not be overridden.
There is no particular reason to not have NH from NuGet. It is just because project was started long ago.
Anyway it was very surprising behavior.
I do not know if reverting to NH 5.2 with NEL 2.3.1 is good decision. In 2.3.1 you've specified that it is targeted for NH 2.3+. So it appears that I've made a mistake.
The only thing we can do is to describe consequences if preconditions are not fulfilled. And this thread is just that.
from nhibernate.extensions.logging.
Hi @robsosno,
I'm doubt the NHibernate.Extensions.Logging
can change NHIbernate behavior, it just a logger adapter for NHibernate.
I guess this may caused by different NHiberate
version bewteen 5.2.5(your app uses) and NHibernate
5.3.11 (NHibernate.Extensions.Logging
2.3.1 uses).
The NHibernate.Extensions.Logging
2.3.3 downgrade NHibernate to 5.2.0
Can you confirm if the latest release solves your problem?
from nhibernate.extensions.logging.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nhibernate.extensions.logging.