Migrating to Hibernate 5.x
I am migrating my application to Hibernate 5 from Hibernate 3. We are using DatabaseMetadata class to get TableMetadata . Hence using TableMetadata object to get DB table column information like column size, type..etc. It seems in Hibernate 5 DatabaseMetadata class got deprecated (removed!). Are there any alternatives for DatabaseMetadata class in Hibernate 5? Or else how to get TableMetadata in Hibernate 5 env? It got removed in 5.0 as we moved to a new approach to schema tooling. DatabaseMetadata represented the existing catalog/schema information from the underlying database. In 5.0 that