This content has been marked as final.
Show 3 replies
-
1. Re: how to set jboss 7 console JPA Metrics Enabled default true
smarlow Jul 15, 2013 9:52 AM (in response to gaoyonglu)Try setting hibernate.generate_statistics to true in your application(s) persistence.xml(s):
<properties> <property name="hibernate.generate_statistics" value="true"/> </properties>
-
2. Re: how to set jboss 7 console JPA Metrics Enabled default true
rohanemmanuel Dec 12, 2013 3:13 AM (in response to smarlow)Hi Scott,
i tried the above mentioned property, im not able to see the metrics using console. im using jboss 7.1.2.Final and the "hibernate3" quickstart .can anyone please advice.
Regards,
Rohan Emmanuel
-
3. Re: how to set jboss 7 console JPA Metrics Enabled default true
smarlow Dec 16, 2013 12:22 PM (in response to rohanemmanuel)The hibernate 3 statistics won't show up in the console (only the Hibernate 4.x statistics will).