operations.put(OPERATION_QUERY_CACHE_PUT_COUNT, queryCachePutCount);
types.put(OPERATION_QUERY_CACHE_PUT_COUNT, Long.class);
}
@Override
public Collection<String> getDynamicChildrenNames(EntityManagerFactoryAccess entityManagerFactoryLookup, PathAddress pathAddress) {
<BUG>Set<String> result = new HashSet<String>();
String[] queries = getBaseStatistics(entityManagerFactoryLookup.entityManagerFactory(pathAddress.getValue(HibernateStatistics.PROVIDER_LABEL))).getQueries();

if (queries != null) {</BUG>
for (String query : queries) {

operations.put(OPERATION_QUERY_CACHE_PUT_COUNT, queryCachePutCount);
types.put(OPERATION_QUERY_CACHE_PUT_COUNT, Long.class);
}
@Override
public Collection<String> getDynamicChildrenNames(EntityManagerFactoryAccess entityManagerFactoryLookup, PathAddress pathAddress) {
Set<String> result = new HashSet<>();
org.hibernate.stat.Statistics stats = getBaseStatistics(entityManagerFactoryLookup.entityManagerFactory(pathAddress.getValue(HibernateStatistics.PROVIDER_LABEL)));
if (stats != null) {
String[] queries = stats.getQueries();
if (queries != null) {
for (String query : queries) {
