如何在Spring boot应用程序中设置hibernate.jdbc.fetch_size属性?
可以将其设置到application.properties中吗?
您应该使用前缀spring.jpa.properties.
查看官方文档here https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#howto-configure-jpa-properties
所以,最后,你的属性应该如下所示:spring.jpa.properties.hibernate.jdbc.fetch_size
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)