From 8293d6dce3669f58b5241fe0e8890764163e8a6f Mon Sep 17 00:00:00 2001 From: del65 Date: Fri, 31 Aug 2018 15:50:27 +0200 Subject: [PATCH] HHH-12966 Make CacheableDataStatistics serializable This is necessary to access statistics over JMX. --- .../main/java/org/hibernate/stat/CacheableDataStatistics.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/stat/CacheableDataStatistics.java b/hibernate-core/src/main/java/org/hibernate/stat/CacheableDataStatistics.java index a9a9bfe866..a4d4d0771c 100644 --- a/hibernate-core/src/main/java/org/hibernate/stat/CacheableDataStatistics.java +++ b/hibernate-core/src/main/java/org/hibernate/stat/CacheableDataStatistics.java @@ -6,10 +6,12 @@ */ package org.hibernate.stat; +import java.io.Serializable; + /** * @author Steve Ebersole */ -public interface CacheableDataStatistics { +public interface CacheableDataStatistics extends Serializable { long NOT_CACHED_COUNT = Long.MIN_VALUE; /**