org.hibernate.tool.hbm2ddl
Class SchemaValidator
java.lang.Object
org.hibernate.tool.hbm2ddl.SchemaValidator
public class SchemaValidator
- extends java.lang.Object
A commandline tool to update a database schema. May also be called from
inside an application.
- Author:
- Christoph Sturm
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
validate()
Perform the validations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaValidator
public SchemaValidator(Configuration cfg)
throws HibernateException
- Throws:
HibernateException
SchemaValidator
public SchemaValidator(Configuration cfg,
java.util.Properties connectionProperties)
throws HibernateException
- Throws:
HibernateException
SchemaValidator
public SchemaValidator(Configuration cfg,
Settings settings)
throws HibernateException
- Throws:
HibernateException
main
public static void main(java.lang.String[] args)
validate
public void validate()
- Perform the validations.
Copyright © 2008 Hibernate.org. All Rights Reserved.