根据映射文件生成脚本Configuration cfg new Configuration().configure()SchemaExport export new S
根据映射文件生成脚本
Configuration cfg = new Configuration().configure();
SchemaExport export = new SchemaExport(cfg);
export.create(true, true);
根据映射文件生成脚本
Configuration cfg = new Configuration().configure();
SchemaExport export = new SchemaExport(cfg);
export.create(true, true);