Support for Named Queries from QueryOver

34 views
Skip to first unread message

Jeff

unread,
Feb 1, 2017, 9:08:41 AM2/1/17
to nhibernate-development
How much work would be involved to implement this feature request: "Support for Named Queries from QueryOver"  ?


Would that be a relatively straightforward enhancement to implement or are there fundamental architecture problems? Does a work-around exist already?

Thanks

Gunnar Liljas

unread,
Feb 1, 2017, 5:56:20 PM2/1/17
to nhibernate-development
I would say it's quite a massive undertaking, for two reasons.

1. Named queries belongs to the IQuery architecture in NHibernate, which has very little in common with the ICriteria architecture that QueryOver is wrapping. Hopefully, in the future, they will converge, but that work has barely been touched.

2. A major reason for the named queries' existence is that they can be fully prepared once they are defined. They are not designed to be opened up and extended.

/G


--

---
You received this message because you are subscribed to the Google Groups "nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-development+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages