ORM (esp. NHibernate) performance for complex queries

前端 未结 3 670
滥情空心
滥情空心 2021-02-14 15:26

My company is in the process of rewriting an existing application from scratch. This application, among other tasks, performs complex SQL queries against order and invoice data

3条回答
  •  有刺的猬
    2021-02-14 16:05

    NHibernate has a bit of a learning curve, but it is well worth learning as any time spent will pay off many times over. I would recommend NHibernate in Action book for learning as it is an excellent resource and covers everything your question asks and a whole lot more.

    NHibernate performance can be tuned (see links below) and NHibernate has robust caching mechanism.

    http://www.codeproject.com/KB/database/NHibernate_Perf.aspx https://www.hibernate.org/hib_docs/nhibernate/html/performance.html

    Ultimately the performance will be determined by who writes the queries as it is in SQL.

提交回复
热议问题