Frédéric Delaporte

Results 185 comments of Frédéric Delaporte
trafficstars

NHibernate does some basic, and somewhat brittle, parsing for injecting table aliases as prefixes to columns found in the formula. It seems this logic obviously does not support `for json...

I had forgotten about this, yes you can handle it the way maca88 suggest. But be aware that any added keyword will cause NHibernate to change behavior with columns named...

You may use instead discrete `batch-size` settings (hbm attributes) on classes and collections requiring it, instead of enabling it for all of them through `default_batch_fetch_size`. This will reduce the memory...

Related: #1904, which would be an intermediate solution, maybe insufficient for some applications (if they usually end up using most loaders during their lifetime).

As far as I know, no one works on this trouble currently. PR are welcome.

I think it would have to be done for NHibernate 6.0, which may simply drop .Net Framework v4. (So the plan would then be to wait for .Net 5 and...

Maybe there is a misunderstanding here: I do not see this as dropping .Net Framework, since we would target .Net 5, which is meant to be the successor of .Net...

Under the hood all this is converted to SQL with joins on both dogs and cats. Joining more than one relationship having many elements results in a Cartesian product which...

[Batch fetching](https://nhibernate.info/doc/nhibernate-reference/performance.html#performance-fetching-batch) already does that. Initializing one proxy will also initialize up to `batch-size - 1` other uninitialized proxies of the same class bound to the same session. So, it...

> It used to be possible to provide an enum as a parameter for HQL queries where a criterion using that parameter matches on a string column. Your wording implies...