I need to do a join of two tables using NHibernate and HQL. I have found very little help on the Internet, and I want to know if this is possible, and if so, how?
Found my answer:
http://www.hibernate.org/117.html#A21
It currently does not support union or intersection.
You can use a named SQL query and do the join in raw SQL. NHibernate will be able to populate entity instances from the sql query and return them as the result of the query. See here and here .
I do not believe that HQL supports joins, but you can write your own write transformer and create the sql file manually.
Source: https://habr.com/ru/post/953198/More articles:Alliance with NHibernate and Criteria? - c #Android star rating how to fit width - androidUnexpected exception: compilation failed on new Play project - scalaGit Configuring SSH Permission Denied (Publication) - gitIs there an alternative to RewriteRule / .htaccess for Python http.server.HTTPServer? - pythonHow to hide subfolder when rewriting URLs - htmlThe correct way to jump ToRoute - javascriptSQL - similarity between two rows of variable length - algorithmhow to rewrite url to share godaddy helper folders - phphttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/953203/ie10-must-click-2-times-to-submit-form-after-choosing-a-file-to-upload&usg=ALkJrhh02ykMVJP0izQ3t-9zSGz3S8z_5wAll Articles