显示持久性单元的统计数据,其是所选服务器的活动部署的一部分。

要查看统计信息,请通过将 <property name="hibernate.generate_statistics" value="true"/> 添加到您的 persistence.xml 来启用它。