使用CreateSQLQuery Nhibernate返回错误

时间:2019-01-11 07:01:36

标签: c# sql nhibernate

CreateSQLQuery在nhibernate中返回错误

当我提取结果时显示此错误

  
    

ReturnAliases ='(((NHibernate.Impl.SqlQueryImpl)(result))。ReturnAliases'引发了类型为'System.NotSupportedException'的异常

         

ReturnTypes ='(((NHibernate.Impl.SqlQueryImpl)(result))。ReturnTypes'引发了类型为'System.NotSupportedException'的异常

  

但是当我在sql ms中执行脚本时,我的脚本可以正常工作

I do the following:

from openvas_lib import VulnscanManager, VulnscanException

try:
    scanner = VulnscanManager("localhost", "admin", "admin")
except VulnscanException as e:
    print(e)

here is my BiBordxSummery.sql file

0 个答案:

没有答案