Hibernate: Running hbm2ddl schema export
Hibernate: import file not found: /import.sql
Hibernate: exporting generated schema to database
Hibernate: alter table tb_student drop foreign key FK9007E96A302AC3E9
Hibernate: Unsuccessful: alter table tb_student drop foreign key FK9007E96A302AC3E9
Hibernate: Table 'hibernate2.tb_student' doesn't exist
Hibernate: drop table if exists tb_class
Hibernate: drop table if exists tb_student
Hibernate: create table tb_class (id integer not null auto_increment, name varchar(255), primary key (id))
Hibernate: create table tb_student (id integer not null auto_increment, name varchar(255), sex varchar(255), class_id integer, primary key (id))
Hibernate: alter table tb_student add index FK9007E96A302AC3E9 (class_id), add constraint FK9007E96A302AC3E9 foreign key (class_id) references tb_class (id)
Hibernate: schema export complete
Hibernate: Running hbm2ddl schema export
Hibernate: import file not found: /import.sql
Hibernate: exporting generated schema to database
Hibernate: alter table tb_student drop foreign key FK9007E96A302AC3E9
Hibernate: drop table if exists tb_class
Hibernate: drop table if exists tb_student
Hibernate: create table tb_class (id integer not null auto_increment, name varchar(255), primary key (id))
Hibernate: create table tb_student (id integer not null auto_increment, name varchar(255), sex varchar(255), class_id integer, primary key (id))
Hibernate: alter table tb_student add index FK9007E96A302AC3E9 (class_id), add constraint FK9007E96A302AC3E9 foreign key (class_id) references tb_class (id)
Hibernate: schema export complete
Hibernate: Running hbm2ddl schema export
Hibernate: import file not found: /import.sql
Hibernate: exporting generated schema to database
Hibernate: alter table tb_student drop foreign key FK9007E96A302AC3E9
Hibernate: drop table if exists tb_class
Hibernate: drop table if exists tb_student
Hibernate: create table tb_class (id integer not null auto_increment, name varchar(255), primary key (id))
Hibernate: create table tb_student (id integer not null auto_increment, name varchar(255), sex varchar(255), class_id integer, primary key (id))
Hibernate: alter table tb_student add index FK9007E96A302AC3E9 (class_id), add constraint FK9007E96A302AC3E9 foreign key (class_id) references tb_class (id)
Hibernate: schema export complete
Hibernate: Running hbm2ddl schema export
Hibernate: import file not found: /import.sql
Hibernate: exporting generated schema to database
Hibernate: alter table tb_student drop foreign key FK9007E96A302AC3E9
Hibernate: drop table if exists tb_class
Hibernate: drop table if exists tb_student
Hibernate: create table tb_class (id integer not null auto_increment, name varchar(255), primary key (id))
Hibernate: create table tb_student (id integer not null auto_increment, name varchar(255), sex varchar(255), class_id integer, primary key (id))
Hibernate: alter table tb_student add index FK9007E96A302AC3E9 (class_id), add constraint FK9007E96A302AC3E9 foreign key (class_id) references tb_class (id)
Hibernate: schema export complete
Hibernate: Running hbm2ddl schema export
Hibernate: import file not found: /import.sql
Hibernate: exporting generated schema to database
Hibernate: alter table tb_student drop foreign key FK9007E96A302AC3E9
Hibernate: drop table if exists tb_class
Hibernate: drop table if exists tb_student
Hibernate: create table tb_class (id integer not null auto_increment, name varchar(255), primary key (id))
Hibernate: create table tb_student (id integer not null auto_increment, name varchar(255), sex varchar(255), class_id integer, primary key (id))
Hibernate: alter table tb_student add index FK9007E96A302AC3E9 (class_id), add constraint FK9007E96A302AC3E9 foreign key (class_id) references tb_class (id)
Hibernate: schema export complete
hibernate双边关系(多对一和一对多)
需积分: 4 179 浏览量
2015-09-21
22:27:23
上传
评论
收藏 499KB ZIP 举报
yingxian_Fei
- 粉丝: 122
- 资源: 49
最新资源
- C语言基础-C语言编程基础之Leetcode编程题解之第39题组合总和.zip
- C语言基础-C语言编程基础之Leetcode编程题解之第38题外观数列.zip
- C语言基础-C语言编程基础之Leetcode编程题解之第37题解数独.zip
- C语言基础-C语言编程基础之Leetcode编程题解之第36题有效的数独.zip
- C语言基础-C语言编程基础之Leetcode编程题解之第35题搜索插入位置.zip
- index.wxml
- C语言基础-C语言编程基础之Leetcode编程题解之第33题搜索旋转排序数组.zip
- 基于Python实现的手写数字识别系统源码.zip
- 从网页提取禁止转载的文字
- C语言基础-C语言编程基础之Leetcode编程题解之第32题最长有效括号.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈