通过hibernate SchemaExport手动创建表结构

来源:互联网 发布:什么软件可以看回看 编辑:程序博客网 时间:2024/05/22 03:43

通过hibernate手动创建表结构

new SchemaExport(new Configuration().configure()).create(true, true);
new SchemaExport(new AnnotationConfiguration().configure()).create(true, true);
0 0