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)