在用NHibernate用CreateQuery类执行select * from tableName 时出现错误 "* only allowed inside aggregate function in SELECT"

解决办法:select u from tableName u