hibernate 自动生成数据库

Hibernate: create table City (cityId varchar(255) not null, cityName varchar(200), remark longtext, versionNum integer, country_countryID varchar(255), cities_KEY varchar(255), primary key (cityId))
Hibernate: create table Country (countryID varchar(255) not null, countryName varchar(200), remark longtext, versionNum integer, primary key (countryID))
Hibernate: create table User (id bigint not null auto_increment, age integer, name varchar(32), nice_name integer, primary key (id))
Hibernate: alter table City add constraint FK_9wtjfq49hl9sj2mjqflcmyk5c foreign key (country_countryID) references Country (countryID)

hibernate 自动生成数据库

上一篇:sql查询表大小行数以及使用空间


下一篇:MySQL命令行导出数据库