标签:io ar for 数据 on ad ef 数据库 har
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)
标签:io ar for 数据 on ad ef 数据库 har
原文地址:http://www.cnblogs.com/javaleon/p/4024776.html