Hi Thorsten Goetzke, great analysis thank you for that. As far as I remember, I’m responsible for clearing those caches on shutdown; you’re right that I was primarily thinking of containers and “regular production” users, in which bootstrap would happen only once. I didn’t think about integration tests. I’m wondering now if we should introduce a special mode for testing, but I suspect people wouldn’t use it; perhaps we shouldn’t reset those caches unless we’re configured to do so? I could recommend to people who maintain the integration framework/Hibernate to set it, but this would be a breaking change which won’t be applied overnight. Do you have any suggestions? Regarding the “fastClass not being cached” - I’m not sure I understand why it should be cached; could you elaborate please? |