Incorrect Syntax near “?” : Nhibernate Generated Query

前端 未结 3 701
[愿得一人]
[愿得一人] 2021-01-23 06:03

I am getting problem while working with positional parameters in Nhbernate.

Criteria GroupProperty is emitting sql with both named and positional variables.

This

3条回答
  •  失恋的感觉
    2021-01-23 06:19

    I ran into a similar issue with Projections.SqlFunction("concat" ...). In the end, I worked around it by using Projections.SqlProjection(...) instead. I don't like this answer, since I think it's probably less portable, but it did work for me.

提交回复
热议问题