public static void main(String[] args) throws Exception{ //配置环境,分析xml映射文件
Configuration conf= new Configuration().addClass(User.class);
//生成并输出sql到文件(当前目录)和数据库
SchemaExport dbExport=new SchemaExport(conf);
dbExport.create(true, true);
}
public static void main(String[] args) throws Exception{ //配置环境,分析xml映射文件
Configuration conf= new Configuration().addClass(User.class);
//生成并输出sql到文件(当前目录)和数据库
SchemaExport dbExport=new SchemaExport(conf);
dbExport.create(true, true);
}
上一篇:EXCEL 笔记 --不定时更新
下一篇:ios脱壳
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M