1.create database test;
2.use test;
3.show tables;(显示为空)public static void main(String[] args) {

//读取hibernate.cfg.xml文件
Configuration cfg = new Configuration().configure();

SchemaExport export = new SchemaExport(cfg);

export.create(true, true);
}控制台运行结果是:
“drop table if exists User
create table User (id varchar(255) not null auto_increment, name varchar(255), password varchar(255), createTime datetime, expireTime datetime, primary key (id))”说明成功了,但是再次show tables;结果MySQL仍然为空,请问这是为什么?