在 Config 里面把 hibernate. show_SQL 设置为 true 就可以。但不建议开启,开启之后会降低程序的运行效率。 Was this helpful? YesNo 0 / 0 上一篇: hibernate 有几种查询方式? 下一篇: 什么是 ORM 框架? 发表回复 取消回复0 Your email address will not be published. 在此浏览器中保存我的显示名称、邮箱地址和网站地址,以便下次评论时使用。