nhibernate-core icon indicating copy to clipboard operation
nhibernate-core copied to clipboard

NHibernate Object Relational Mapper

Results 279 nhibernate-core issues
Sort by recently updated
recently updated
newest added

Hi, I tried to use a formula with "for json path" to return the result as a json string. (Maybe I am doing something wrong here then I apologize.) Formula...

t: Improvement
c: Core
p: Minor

Cannot access a disposed name: 'AsyncReaderWriterLock' NHibernate.Util.AsyncReaderWriterLockAssertNotDisposed()\r\n at NHibernate.Util. SystemException waitForReadLocks)\r\n at at NHibernate.C an at NHibernate.Engine.TwoPhaseLoad.lnitializeEntity(Object entity, Boolean readOnly, ISessionlmplementor session, PreLoadEvent preLoadEvent, PostLoadEvent postLoadEvent, Action'2 at in, Boolean...

```c# CrdCardResponse crdCardResponse = Query() .Where(x => x.CardNo == cardNo) .Select(x => new CrdCardResponse() { IsLimitExceed = x.Dci != CardDci.Credit.GetKey() }).SingleOrDefault(); ``` Hql query plan is regenerated each time this...

t: Bug
c: Linq Provider
p: Minor

First during entity save it creates insert statements and than on commit it creates update statement.The value during insert statement is same in update statement and it's foreign key.There are...

Investigating a memory leak in an app, it was evident that the NHibernate.Engine.Query.QueryPlanCache was holding on to references to entities via instances of NHibernate.Param.NamedParameter. This only happens if the linq...

Fixes #1316 Port of https://github.com/hibernate/hibernate-orm/commit/06b0faaf5770da47681d9d32e06ea204519a3846 (without Padded fetch style) To start using Dynamic batch style add the following property to session-factory settings: ```xml Dynamic ``` Or configuration by code: ```C#...

t: New Feature
c: Core
p: Minor

AspNet Core in .net5.0 applications won't start since BinaryFormatter use is prohibited, as stated [here](https://docs.microsoft.com/dotnet/core/compatibility/3.1-5.0#binaryformatter-serialization-methods-are-obsolete-and-prohibited-in-aspnet-apps). Please consider replacing BinaryFormatter with something "AspNet Core in 5.0" friendly. It's something AspNet Core...

BeginTransaction is not async results in connection to be opened async. I'm not entirely sure but I assume `BeginTransaction` will result in a transaction to be started if not already...

Resolves: https://github.com/nhibernate/nhibernate-core/issues/3051 Todo: - [ ] Cancellation tokens arguments - [ ] Missing some #if to as BeginTransactionAsync only exists since NET Standard 2.1