Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 387 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 387 Bytes

many-to-one-problem

Example of N+1 Problem with NHibernate v5.5.2

MANY-TO-ONE SOLVED

Adding batch-size solved many-to-one relation, but it seems not to work with one-to-one

Reproduce steps

  • Clone repository
  • Open solution in Visual Studio
  • Create a Postgres Database
  • Set connection string in "hibernate.cfg.xml" file
  • Run application
  • See the console output for the Query