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

为了查看统计信息,请通过把 <property name="hibernate.generate_statistics" value="true"/> 加入到 persistence.xml 来启用它。