We have a web application running in a production enviroment and at some point the client complained about how slow the application got.
When we checked what was goi
It's indeed coming from Hibernate and specifically org.hibernate.tool.hbm2ddl.TableMetadata
. It's under each been used to validate the schema (table and column mapping). Apparently it's unnecessarily been executed on every spawned request or session instead of only once during application's startup. Are you for example not unnecessarily calling the Hibernate Configurator on every request or session?