Turn off hibernate logging to console

后端 未结 5 1330
死守一世寂寞
死守一世寂寞 2020-12-30 02:01

When running my Spring/Hibernate application I see the following unwanted output on the console:

Hibernate: select securityus0_.ID ....
Hibernate: select sec         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-30 02:41

    I'm fairly certain that you're seeing those SQL statements because somewhere in your Hibernate config the property "hibernate.show_sql" is set to true. Find that setting and change to false.

提交回复
热议问题