I am using Hibernate for ORM for a game server and just switched from session/transaction per unit of work to session/transaction per request. Since ...
I am using Hibernate for ORM for a game server and just switched from session/transaction per unit of work to session/transaction per request. Since ...
I have created a small API based on NancyFx on .NET Core 2. It uses AutoFac as the IOC container and NHibernate 5.3 to access the database. I have r ...
I'm using FluentNHibernate and when i make post got this error. a different object with the same identifier value was already associated with the ...
I'm trying to do a redirect, I have a singleton class that is my configuration class, picked up the information on this and ride my conectionString, t ...
I have a configuration class for the first User access in the base will be necessary to place settings and served almost basis using this if firebird ...
I've written a C# MVC 3 with NHibernate as the ORM and I'm having some odd exceptions thrown on most page loads. They seem to mostly relate to closed ...
I have a scenario similar to this: Asp.NET MVC 4 website using nHibernate Session Per Request. The session is injected using Ninject onto a Repository ...
I saw a code as below in a tutorial of EF code first , MVC and StructureMap to create a Context Per Request pattern: FirstEntity ,SecondEntity and ...
I have a web application made with Tapestry5 (java webframework) and Hibernate. Now I'm trying to add optimistic locking. So I added a version attribu ...
I think I might have my Unit of Work set up wrong in my architecture. Here is what I currently have (indented to show order): Here, I call various ...
The MVC 3 project I am working on commits/rolls back whatever insert/update calls I make at the end of the current session. This works fine in most ca ...
Folks, what's the difference between Open Session in View and Session per request pattern? I am using Spring MVC and Hibernate . I am not talking abou ...
For example. My session factory is located in MyDomain.SessionProvider class. Session can be open using ISession session = SessionProvider.Instance.Op ...
As I said in the title I want to implement session per web request. My session provider is configured like this (I'm not interested in changing this c ...
Hey, I'm building a four tier software system (Presentation - JSP, Problem Domain, Application Logic, Persistence) and I want to have my transactions ...
I am trying to implement a session-per-request model in my WCF application, and I have read countless documents on this topic, but looks like there is ...
I need some insights and thoughts about a refactoring I'm about to do to our web-app. We initially used the session-per-request pattern with NHiberna ...