package com.test;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;
public class test1 {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Configuration cfg=new Configuration().configure();
SchemaExport ex=new SchemaExport(cfg);
ex.create(true, true);
}
}