czerny
czerny

Reputation: 16684

Validate database schema in Hibernate 5

Hibernate 4.x and 3.x has method Configuration#validateSchema that allows to verify that current database schema matches the object model. However the method is missing in version 5. How the database schema can be validated in Hibernate 5?

Upvotes: 0

Views: 640

Answers (1)

czerny
czerny

Reputation: 16684

The functionality was extracted and is accessible through interface SchemaValidator.

Upvotes: 1

Related Questions