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)