站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

SchemaValidator (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.tool.hbm2ddl
Class SchemaValidator

java.lang.Object
  extended byorg.hibernate.tool.hbm2ddl.SchemaValidator

public class SchemaValidator
extends Object

A commandline tool to update a database schema. May also be called from inside an application.

Author:
Christoph Sturm

Constructor Summary
SchemaValidator(Configuration cfg)
           
SchemaValidator(Configuration cfg, Properties connectionProperties)
           
SchemaValidator(Configuration cfg, Settings settings)
           
 
Method Summary
static void main(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
 

Constructor Detail

SchemaValidator

public SchemaValidator(Configuration cfg)
                throws HibernateException

SchemaValidator

public SchemaValidator(Configuration cfg,
                       Properties connectionProperties)
                throws HibernateException

SchemaValidator

public SchemaValidator(Configuration cfg,
                       Settings settings)
                throws HibernateException
Method Detail

main

public static void main(String[] args)

validate

public void validate()
Perform the validations.