Are you talking about Hibernate 5.2.1.FINAL? Which is before the issue you are commenting in? The quick answer is: Do not use new MutableConfiguration() because it gives default that you almost never want. Give some thoughts to that you need: "What size? Which storage? Which expiration" |