解决:Hibernate: Encountered a duplicated sql alias [] during auto-discovery of a native-sq

  • Post author:
  • Post category:其他

一、报错:

Encountered a duplicated sql alias [created_by_login] during auto-discovery of a native-sql query

二、原因:

Select后面没有别名!!!

(注:存储过程不能select * )


三、解决:

加别名之后,成功~



版权声明:本文为Liucheng417原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。