public class HibernateAssert extends Object
| Constructor and Description |
|---|
HibernateAssert() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertMappingWithDatabaseConsistent(org.hibernate.cfg.Configuration configuration,
org.hibernate.Session session,
org.hibernate.dialect.Dialect databaseDialect)
Checks if the mapping of the Hibernate managed objects with the database is still correct.
|
public static void assertMappingWithDatabaseConsistent(org.hibernate.cfg.Configuration configuration,
org.hibernate.Session session,
org.hibernate.dialect.Dialect databaseDialect)
configuration - The hibernate config, not nullsession - The hibernate session, not nulldatabaseDialect - The database dialect, not nullCopyright © 2016. All Rights Reserved.